Skip to content

Commit

Permalink
Retry failures to reduce CI noise
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Dec 20, 2023
1 parent 7954034 commit 9da5515
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ testSuite tests removeAllSuchThat: [:ea | nonTerminatingTestCases anySatisfy: [:
testSuite tests removeAllSuchThat: [:ea | failingTests anySatisfy: [:t | ea class == t class and: [ ea selector == t selector ]]].
result := testSuite run.
result printReport.
exitCode := (result hasFailures or: [ result hasErrors ]) ifTrue: [ 1 ] ifFalse: [ 0 ].

"To reduce noise, retry any failures"
testSuiteRetry := TestSuite new.
testSuiteRetry tests addAll: result failures.
resultRetry := testSuiteRetry run.
resultRetry printReport.

exitCode := (resultRetry hasFailures or: [ result hasErrors ]) ifTrue: [ 1 ] ifFalse: [ 0 ].

StdIOWriteStream stdout newLine; nextPutAll: 'Failing and Flaky TestCases:'; newLine; flush.
testSuite := TestSuite new.
Expand Down

1 comment on commit 9da5515

@TruffleSqueak-Bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performance Report (9da5515)

Benchmarks ran on graalvm-jdk-21+35.1.

Steady (after 100 iterations)

Benchmark Name Min Geomean Median Mean Max Total (ms) Total (min)
Bounce 556 567 559.29 558 559.28 111857 1.86
CD 483 493 486.76 485 486.74 97351 1.62
DeltaBlue 286 466 414.11 412 412.9 82821 1.38
Havlak 1153 1202 1182.12 1187.5 1182.05 236423 3.94
Json 366 376 369.05 368 369.04 73810 1.23
List 378 391 378.84 378.5 378.83 75767 1.26
Mandelbrot 229 238 232.68 234 232.66 46536 0.78
NBody 256 269 259.56 258 259.54 51911 0.87
Permute 154 169 159.82 161 159.78 31964 0.53
Queens 252 263 253.01 253 253.01 50602 0.84
Richards 1265 1319 1270.88 1271 1270.87 254176 4.24
Sieve 177 225 178.32 178 178.28 35663 0.59
Storage 141 150 142.69 142 142.67 28537 0.48
Towers 201 218 202.5 202 202.48 40499 0.67
5897 6346 6089.59 6088 6088.12 1217917 20.3

9da5515-2-steady.svg

Warmup (first 100 iterations)

9da5515-3-warmup.svg

Please sign in to comment.