mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-21 13:16:03 +00:00
Merge pull request #615 from internetarchive/dependabot/maven/org.eclipse.jetty-jetty-server-9.4.55.v20240627
Bump org.eclipse.jetty:jetty-server from 9.4.37.v20210219 to 9.4.55.v20240627
This commit is contained in:
@@ -48,12 +48,12 @@ public class StatisticsSelfTest extends SelfTestBase {
|
||||
StatisticsTracker stats = heritrix.getEngine().getJob("selftest-job").getCrawlController().getStatisticsTracker();
|
||||
assertNotNull(stats);
|
||||
assertEquals(13, (long) stats.getCrawledBytes().get(CrawledBytesHistotable.WARC_NOVEL_URLS));
|
||||
assertEquals(8005, (long) stats.getCrawledBytes().get(CrawledBytesHistotable.WARC_NOVEL_CONTENT_BYTES) - stats.getBytesPerHost("dns:"));
|
||||
assertEquals(7999, (long) stats.getCrawledBytes().get(CrawledBytesHistotable.WARC_NOVEL_CONTENT_BYTES) - stats.getBytesPerHost("dns:"));
|
||||
|
||||
assertEquals(3, (long) stats.getServerCache().getHostFor("127.0.0.1").getSubstats().get(CrawledBytesHistotable.WARC_NOVEL_URLS));
|
||||
assertEquals(2217, (long) stats.getServerCache().getHostFor("127.0.0.1").getSubstats().get(CrawledBytesHistotable.WARC_NOVEL_CONTENT_BYTES));
|
||||
assertEquals(2216, (long) stats.getServerCache().getHostFor("127.0.0.1").getSubstats().get(CrawledBytesHistotable.WARC_NOVEL_CONTENT_BYTES));
|
||||
assertEquals(10, (long) stats.getServerCache().getHostFor("localhost").getSubstats().get(CrawledBytesHistotable.WARC_NOVEL_URLS));
|
||||
assertEquals(5788, (long) stats.getServerCache().getHostFor("localhost").getSubstats().get(CrawledBytesHistotable.WARC_NOVEL_CONTENT_BYTES));
|
||||
assertEquals(5783, (long) stats.getServerCache().getHostFor("localhost").getSubstats().get(CrawledBytesHistotable.WARC_NOVEL_CONTENT_BYTES));
|
||||
assertEquals(0, (long) stats.getServerCache().getHostFor("dns:").getSubstats().get(CrawledBytesHistotable.WARC_NOVEL_URLS));
|
||||
}
|
||||
|
||||
@@ -66,17 +66,17 @@ public class StatisticsSelfTest extends SelfTestBase {
|
||||
sourceStats = stats.getSourceStats("http://127.0.0.1:7777/a.html");
|
||||
assertNotNull(sourceStats);
|
||||
assertEquals(4, sourceStats.keySet().size());
|
||||
assertEquals(2217l, (long) sourceStats.get("novel"));
|
||||
assertEquals(2216l, (long) sourceStats.get("novel"));
|
||||
assertEquals(3l, (long) sourceStats.get("novelCount"));
|
||||
assertEquals(2217l, (long) sourceStats.get("warcNovelContentBytes"));
|
||||
assertEquals(2216l, (long) sourceStats.get("warcNovelContentBytes"));
|
||||
assertEquals(3l, (long) sourceStats.get("warcNovelUrls"));
|
||||
|
||||
sourceStats = stats.getSourceStats("http://localhost:7777/b.html");
|
||||
assertNotNull(sourceStats);
|
||||
assertEquals(4, sourceStats.keySet().size());
|
||||
assertEquals(5788l, (long) sourceStats.get("novel") - stats.getBytesPerHost("dns:"));
|
||||
assertEquals(5783l, (long) sourceStats.get("novel") - stats.getBytesPerHost("dns:"));
|
||||
assertEquals(11l, (long) sourceStats.get("novelCount"));
|
||||
assertEquals(5788l, (long) sourceStats.get("warcNovelContentBytes") - stats.getBytesPerHost("dns:"));
|
||||
assertEquals(5783l, (long) sourceStats.get("warcNovelContentBytes") - stats.getBytesPerHost("dns:"));
|
||||
assertEquals(10l, (long) sourceStats.get("warcNovelUrls"));
|
||||
}
|
||||
|
||||
|
||||
@@ -394,7 +394,7 @@ http://maven.apache.org/guides/mini/guide-m1-m2.html
|
||||
<build.timestamp>${maven.build.timestamp}</build.timestamp>
|
||||
<doclint>none</doclint>
|
||||
<additionalparam>-Xdoclint:none</additionalparam>
|
||||
<jetty.version>9.4.37.v20210219</jetty.version>
|
||||
<jetty.version>9.4.55.v20240627</jetty.version>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.release>8</maven.compiler.release>
|
||||
|
||||
Reference in New Issue
Block a user