update webarchive-commons dependency to incorporate fix to warc size calculation, and uncomment test that exercises the fix

This commit is contained in:
Noah Levitt
2017-10-11 14:54:37 -07:00
parent 4e96d0c94f
commit ae8a0ef95f
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -188,7 +188,7 @@
<dependency>
<groupId>org.netpreserve.commons</groupId>
<artifactId>webarchive-commons</artifactId>
<version>1.1.5</version>
<version>1.1.8</version>
<exclusions>
<exclusion>
<groupId>org.apache.hadoop</groupId>
@@ -185,8 +185,7 @@ public class WARCWriterProcessorTest extends ProcessorTestBase {
assertEquals(4, wwp.getStats().get("totals").get("numRecords").get());
assertEquals(responseBytes.length, wwp.getStats().get("response").get("contentBytes").get());
// XXX fails currently, needs https://github.com/iipc/webarchive-commons/pull/51
// assertEquals(warc.length(), wwp.getStats().get("totals").get("sizeOnDisk").get());
assertEquals(warc.length(), wwp.getStats().get("totals").get("sizeOnDisk").get());
}
/**