Skip to content

Commit

Permalink
Be extra lenient for non-Sun JDK perf tests
Browse files Browse the repository at this point in the history
The slack factor for non-Sun JDK performance test in PackagingDataCalculatorTest
was not lenient enough for the small virtual nodes on Cloudbees Jenkins.
Some people were also reporting test failures here by a few percentage points
(on their slow development machines).

Bump slack factor from 10 to 15

(cherry picked from commit 841d22a)
  • Loading branch information
tony19 committed Sep 14, 2013
1 parent 5576df5 commit a0f2102
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -90,7 +90,7 @@ public void perfTest() {
int slackFactor = 8;
if (!SystemInfo.getJavaVendor().contains("Sun")) {
// be more lenient with other JDKs
slackFactor = 10;
slackFactor = 15;
}
assertTrue("computing class packaging data (" + d1
+ ") should have been less than " + slackFactor
Expand Down

0 comments on commit a0f2102

Please sign in to comment.