Skip to content

Commit

Permalink
Bump verification width to 4 (#146)
Browse files Browse the repository at this point in the history
* Bump verification width to 4

This matches the long running tests, but not the runtime repo. I think this is a sensible default, as the long running ones have caught lots of stuff

Part of #145

* Bump verif test timeouts to 2 minutes
  • Loading branch information
jackkleeman authored Jun 15, 2023
1 parent 4ce1fc5 commit 4ab918a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/src/test/kotlin/dev/restate/e2e/node/VerificationTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class VerificationTest {
}
}

@Timeout(value = 1, unit = TimeUnit.MINUTES)
@Timeout(value = 2, unit = TimeUnit.MINUTES)
@Test
fun simple(@InjectBlockingStub verifier: CommandVerifierBlockingStub) {
val testParams = testParams()
Expand All @@ -72,7 +72,7 @@ class VerificationTest {
verifier.clear(VerifierProto.ClearRequest.newBuilder().setParams(testParams).build())
}

@Timeout(value = 1, unit = TimeUnit.MINUTES)
@Timeout(value = 2, unit = TimeUnit.MINUTES)
@Test
fun killingTheServiceEndpoint(
@InjectBlockingStub verifier: CommandVerifierBlockingStub,
Expand All @@ -92,7 +92,7 @@ class VerificationTest {
verifier.clear(VerifierProto.ClearRequest.newBuilder().setParams(testParams).build())
}

@Timeout(value = 1, unit = TimeUnit.MINUTES)
@Timeout(value = 2, unit = TimeUnit.MINUTES)
@Test
fun stoppingTheServiceEndpoint(
@InjectBlockingStub verifier: CommandVerifierBlockingStub,
Expand All @@ -112,7 +112,7 @@ class VerificationTest {
verifier.clear(VerifierProto.ClearRequest.newBuilder().setParams(testParams).build())
}

@Timeout(value = 1, unit = TimeUnit.MINUTES)
@Timeout(value = 2, unit = TimeUnit.MINUTES)
@Test
fun killingTheRuntime(
@InjectBlockingStub verifier: CommandVerifierBlockingStub,
Expand All @@ -131,7 +131,7 @@ class VerificationTest {
verifier.clear(VerifierProto.ClearRequest.newBuilder().setParams(testParams).build())
}

@Timeout(value = 1, unit = TimeUnit.MINUTES)
@Timeout(value = 2, unit = TimeUnit.MINUTES)
@Test
fun stoppingTheRuntime(
@InjectBlockingStub verifier: CommandVerifierBlockingStub,
Expand Down Expand Up @@ -159,7 +159,7 @@ class VerificationTest {
logger.info("Using seed {}", seed)
return TestParams.newBuilder()
.setSeed(seed)
.setWidth(3)
.setWidth(4)
.setDepth(14)
.setMaxSleepMillis(5.seconds.inWholeMilliseconds.toInt())
.build()
Expand Down

0 comments on commit 4ab918a

Please sign in to comment.