Skip to content

Commit

Permalink
[JENKINS-15818] Adding safeName fields takes a bit more heap.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Nov 14, 2012
1 parent c9359ec commit 9e20537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/test/java/hudson/tasks/junit/SuiteResultTest.java
Expand Up @@ -86,7 +86,7 @@ public class SuiteResultTest {
w.close();
}
SuiteResult sr = parseOne(data);
assertHeapUsage(sr, 300 + /* Unicode overhead */2 * (int) (/*259946*/data.length() + /*495600*/data2.length() + /* SuiteResult.file */data.getAbsolutePath().length()));
assertHeapUsage(sr, 1100 + /* Unicode overhead */2 * (int) (/*259946*/data.length() + /*495600*/data2.length() + /* SuiteResult.file */data.getAbsolutePath().length()));
// XXX serialize using TestResultAction.XSTREAM and verify that round-tripped object has same size
} finally {
data2.delete();
Expand Down

0 comments on commit 9e20537

Please sign in to comment.