using single https synapse instance for test harness
This commit is contained in:
parent
8c2dfbd77c
commit
45f9a81e52
|
@ -39,7 +39,7 @@ jobs:
|
|||
- name: Start synapse server
|
||||
run: |
|
||||
pip install matrix-synapse
|
||||
curl -sL https://raw.githubusercontent.com/matrix-org/synapse/develop/demo/start.sh \
|
||||
curl -sL https://gist.githubusercontent.com/ouchadam/e3ad09ec382bd91a66d88ab575ea7c31/raw/run.sh \
|
||||
| bash -s -- --no-rate-limit
|
||||
|
||||
- name: Run all unit tests
|
||||
|
|
|
@ -22,8 +22,8 @@ import test.flowTest
|
|||
import test.restoreLoginAndInitialSync
|
||||
import java.util.*
|
||||
|
||||
private const val TEST_SERVER_URL_REDIRECT = "http://localhost:8080/"
|
||||
private const val HTTPS_TEST_SERVER_URL = "https://localhost:8480/"
|
||||
private const val TEST_SERVER_URL_REDIRECT = "https://localhost:8080/"
|
||||
private const val HTTPS_TEST_SERVER_URL = "https://localhost:8080/"
|
||||
|
||||
@TestMethodOrder(MethodOrderer.OrderAnnotation::class)
|
||||
class SmokeTest {
|
||||
|
@ -113,7 +113,7 @@ class SmokeTest {
|
|||
|
||||
private suspend fun createAndRegisterAccount(): TestUser {
|
||||
val aUserName = "${UUID.randomUUID()}"
|
||||
val userId = UserId("@$aUserName:localhost:8480")
|
||||
val userId = UserId("@$aUserName:localhost:8080")
|
||||
val aUser = TestUser("aaaa11111zzzz", RoomMember(userId, aUserName, null), HTTPS_TEST_SERVER_URL)
|
||||
|
||||
val result = TestMatrix(aUser, includeLogging = true, includeHttpLogging = true)
|
||||
|
|
Loading…
Reference in New Issue