Skip to content

Commit

Permalink
test: disable inconsistent cancelRequest test & clean testLogDir content
Browse files Browse the repository at this point in the history
  • Loading branch information
Xerus committed Oct 26, 2019
1 parent 28af9eb commit 60b9c8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ tasks {
dependsOn(clearTestLogs, ":server:deploy")
val testClientGames = 3
doFirst {
val tmpDir = buildDir.resolve("tmp")
tmpDir.mkdirs()
testLogDir.mkdirs()
val unzipped = testLogDir.resolve("software-challenge-server")
val unzipped = tmpDir.resolve("software-challenge-server")
unzipped.deleteRecursively()
Runtime.getRuntime().exec("unzip software-challenge-server.zip -d $unzipped", null, deployDir).waitFor()

Expand Down
2 changes: 2 additions & 0 deletions server/test/sc/protocol/requests/RequestTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package sc.protocol.requests
import com.thoughtworks.xstream.XStream
import org.junit.Assert.*
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import sc.framework.plugins.RoundBasedGameInstance
import sc.networking.clients.LobbyClient
Expand Down Expand Up @@ -307,6 +308,7 @@ class RequestTest : RealServerTest() {
}

@Test
@Ignore
fun cancelRequest() {
player1.authenticate(PASSWORD)
player1.joinRoomRequest(TestPlugin.TEST_PLUGIN_UUID)
Expand Down

0 comments on commit 60b9c8a

Please sign in to comment.