Skip to content

Commit 6861669

Browse files
committed
disabled debug mode. fixed issue with GC
1 parent 1aac0ae commit 6861669

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ env:
4343
build-jdk: 17
4444
java-distribution: temurin
4545
retention-days: 5
46-
debug: true # put to true if need to debug a specific test
46+
debug: false # put to true if need to debug a specific test
4747
debugTestName: "SamplerVerifierTest" # replace with test to debug
4848

4949
# This build is quite expensive (some hours), so we run it whole only on some JVM versions and OSs.

core-tests/integration-tests/core-it/src/test/kotlin/org/evomaster/core/problem/rest/SamplerVerifierTest.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,14 @@ class SamplerVerifierTest {
116116
return scanForSchemas(relativePath, resourceFolder)
117117
.sorted().map {
118118
DynamicTest.dynamicTest(it) {
119+
/*
120+
These tests are expensive... and once upon a time they were a source of timeouts due
121+
to some bottlenecks. For that reason, we were forcing a GC before each test outside of the
122+
timeout, hoping it would help. But it looks like nowadays this is creating a deadlock on GA :(
123+
so we had to remove it
124+
*/
119125
//System.gc()
120-
println("RUNNING: $it")
126+
println("RUNNING: $it") // Surefire sucks at providing info for @TestFactory
121127
assertTimeoutPreemptively(Duration.ofSeconds(timeout), it) {
122128
runInvariantCheck(it, 100, blackBox)
123129
}

0 commit comments

Comments
 (0)