mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-21 21:26:16 +00:00
update webarchive-commons dependency to incorporate fix to warc size calculation, and uncomment test that exercises the fix
This commit is contained in:
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user