From 6b934984e830e1f11c6b9761ddc636d5cdcf28e6 Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Sat, 28 Nov 2020 11:49:46 +0100 Subject: Add traces to startGame_3players test This is to investigate the timeouts --- .../test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sw-server/src/test/kotlin/org/luxons') 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) -- cgit