HADOOP-9405. TestGridmixSummary#testExecutionSummarizer is broken. Contributed by Andrew Wang.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1456639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Aaron Myers 2013-03-14 20:11:49 +00:00
parent 807e08334e
commit 4008b37b74
2 changed files with 6 additions and 3 deletions

View File

@ -350,6 +350,9 @@ Trunk (Unreleased)
HADOOP-9397. Incremental dist tar build fails (Chris Nauroth via jlowe)
HADOOP-9405. TestGridmixSummary#testExecutionSummarizer is broken. (Andrew
Wang via atm)
OPTIMIZATIONS
HADOOP-7761. Improve the performance of raw comparisons. (todd)

View File

@ -257,7 +257,7 @@ public void testExecutionSummarizer() throws IOException {
qPath.toString(), es.getInputTraceLocation());
// test expected data size
assertEquals("Mismatch in expected data size",
"1.0k", es.getExpectedDataSize());
"1 K", es.getExpectedDataSize());
// test input data statistics
assertEquals("Mismatch in input data statistics",
ExecutionSummarizer.stringifyDataStatistics(dataStats),
@ -272,7 +272,7 @@ public void testExecutionSummarizer() throws IOException {
es.finalize(factory, testTraceFile.toString(), 1024*1024*1024*10L, resolver,
dataStats, conf);
assertEquals("Mismatch in expected data size",
"10.0g", es.getExpectedDataSize());
"10 G", es.getExpectedDataSize());
// test trace signature uniqueness
// touch the trace file
@ -389,4 +389,4 @@ public void testClusterSummarizer() throws IOException {
assertEquals("Cluster summary test failed!", 0,
cs.getNumBlacklistedTrackers());
}
}
}