diff options
-rw-r--r-- | sw-server/build.gradle.kts | 6 | ||||
-rw-r--r-- | sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sw-server/build.gradle.kts b/sw-server/build.gradle.kts index 96990dc7..3d2c3477 100644 --- a/sw-server/build.gradle.kts +++ b/sw-server/build.gradle.kts @@ -39,3 +39,9 @@ tasks.processResources { } // make sure we build the frontend before creating the jar tasks.processResources.get().dependsOn(":sw-ui:assemble") + +tasks.withType<Test> { + testLogging { + showStandardStreams = true + } +} diff --git a/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt b/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt index 2518a735..92a20bec 100644 --- a/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt +++ b/sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt @@ -108,12 +108,17 @@ class SevenWondersTest { } @Test - fun startGame_3players() = runAsyncTest { + fun startGame_3players() = runAsyncTest(30000) { + println("startGame_3players: START") val session1 = newPlayer("Player1") + println("startGame_3players: after player 1") val session2 = newPlayer("Player2") + println("startGame_3players: after player 2") val lobby = session1.createGame("Test Game") + println("startGame_3players: after player 1 creates game") session2.joinGame(lobby.id) + println("startGame_3players: after player 2 joins game") val session3 = newPlayer("Player3") session3.joinGame(lobby.id) |