mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-16 02:36:53 +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 parent
4e96d0c94f
commit
ae8a0ef95f
2 files changed
+2
-3
No files matched your search
+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