summaryrefslogtreecommitdiff
path: root/sw-server/src/test/kotlin/org
diff options
context:
space:
mode:
authorjoffrey-bion <joffrey.bion@gmail.com>2020-11-28 11:49:46 +0100
committerjoffrey-bion <joffrey.bion@gmail.com>2020-11-29 11:35:47 +0100
commit6b934984e830e1f11c6b9761ddc636d5cdcf28e6 (patch)
treeb3164401db9ad87bb6fc8ff3a6d70043fdceccec /sw-server/src/test/kotlin/org
parentFix score board deserialization (diff)
downloadseven-wonders-6b934984e830e1f11c6b9761ddc636d5cdcf28e6.tar.gz
seven-wonders-6b934984e830e1f11c6b9761ddc636d5cdcf28e6.tar.bz2
seven-wonders-6b934984e830e1f11c6b9761ddc636d5cdcf28e6.zip
Add traces to startGame_3players test
This is to investigate the timeouts
Diffstat (limited to 'sw-server/src/test/kotlin/org')
-rw-r--r--sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt7
1 files changed, 6 insertions, 1 deletions
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)
bgstack15