diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:28:29 +0200 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-04-08 00:28:29 +0200 |
commit | a6844dda42f4274f1765eddb00a69c97c7ba8334 (patch) | |
tree | 9b0c58a887f774bbec496896d445411d823837cf /sw-server/src/test/kotlin | |
parent | Enable ktlint on sw-ui (diff) | |
download | seven-wonders-a6844dda42f4274f1765eddb00a69c97c7ba8334.tar.gz seven-wonders-a6844dda42f4274f1765eddb00a69c97c7ba8334.tar.bz2 seven-wonders-a6844dda42f4274f1765eddb00a69c97c7ba8334.zip |
Fix tests
Diffstat (limited to 'sw-server/src/test/kotlin')
-rw-r--r-- | sw-server/src/test/kotlin/org/luxons/sevenwonders/server/SevenWondersTest.kt | 1 |
1 files changed, 1 insertions, 0 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 022c162d..0b64c74b 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 @@ -73,6 +73,7 @@ class SevenWondersTest { ownerSession.startGame() val nothing = withTimeoutOrNull(30) { started.join() } assertNull(nothing) + started.cancel() disconnect(ownerSession, session1, session2, outsiderSession) } } |