Skip to content

Commit a683c90

Browse files
committed
updated failing test
1 parent afca9e6 commit a683c90

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • core-tests/e2e-tests/spring-rest-openapi-v3/src/test/kotlin/org/evomaster/e2etests/spring/openapi/v3/sleep

core-tests/e2e-tests/spring-rest-openapi-v3/src/test/kotlin/org/evomaster/e2etests/spring/openapi/v3/sleep/SleepEMTest.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ class SleepEMTest : SpringTestBase() {
4040

4141
assertTrue(solution.individuals.size >= 1)
4242

43-
//minimization re-execute the test
44-
assertEquals(iterations+1, SleepCounter.counter.get())
43+
//minimization and extra oracles can re-execute the test
44+
val n = SleepCounter.counter.get()
45+
assertTrue(n > iterations, "Times n=$n of calls should be more than i=$iterations iterations")
4546
}
4647
}
4748

0 commit comments

Comments
 (0)