add timeouts to all tests (#5875)

This commit is contained in:
Stefano Franz
2020-02-11 10:14:05 +00:00
committed by GitHub
parent 1d0918cdde
commit b23af5f0d2
485 changed files with 5655 additions and 5625 deletions

View File

@ -28,8 +28,8 @@ import org.junit.Test
import java.util.concurrent.Executors
class TraderDemoTest {
@Test
fun `runs trader demo`() {
@Test(timeout=300_000)
fun `runs trader demo`() {
val demoUser = User("demo", "demo", setOf(startFlow<SellerFlow>(), all()))
val bankUser = User("user1", "test", permissions = setOf(
startFlow<CashIssueFlow>(),
@ -84,8 +84,8 @@ class TraderDemoTest {
}
}
@Test
fun `Test restart node during flow works properly`() {
@Test(timeout=300_000)
fun `Test restart node during flow works properly`() {
driver(DriverParameters(
startNodesInProcess = false,
inMemoryDB = false,