(cleanup) Fix broken tests
This commit is contained in:
parent
e162406d40
commit
fd1eec99b5
@ -270,7 +270,7 @@ public class CrawlingThenConvertingIntegrationTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CrawledDocumentParquetRecordFileWriter.convertWarc(specs.domain,
|
CrawledDocumentParquetRecordFileWriter.convertWarc(specs.domain,
|
||||||
new UserAgent("test"),
|
new UserAgent("test", "test"),
|
||||||
fileName, fileName2);
|
fileName, fileName2);
|
||||||
|
|
||||||
try (var reader = new ParquetSerializableCrawlDataStream(fileName2)) {
|
try (var reader = new ParquetSerializableCrawlDataStream(fileName2)) {
|
||||||
|
@ -144,7 +144,7 @@ class WarcRecorderTest {
|
|||||||
|
|
||||||
CrawledDocumentParquetRecordFileWriter.convertWarc(
|
CrawledDocumentParquetRecordFileWriter.convertWarc(
|
||||||
"www.marginalia.nu",
|
"www.marginalia.nu",
|
||||||
new UserAgent("test"),
|
new UserAgent("test", "test"),
|
||||||
fileNameWarc,
|
fileNameWarc,
|
||||||
fileNameParquet);
|
fileNameParquet);
|
||||||
|
|
||||||
|
@ -312,7 +312,7 @@ class CrawlerRetreiverTest {
|
|||||||
|
|
||||||
private void convertToParquet(Path tempFileWarc2, Path tempFileParquet2) {
|
private void convertToParquet(Path tempFileWarc2, Path tempFileParquet2) {
|
||||||
CrawledDocumentParquetRecordFileWriter.convertWarc("www.marginalia.nu",
|
CrawledDocumentParquetRecordFileWriter.convertWarc("www.marginalia.nu",
|
||||||
new UserAgent("test"), tempFileWarc2, tempFileParquet2);
|
new UserAgent("test", "test"), tempFileWarc2, tempFileParquet2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user