(cleanup) Fix broken tests

This commit is contained in:
Viktor Lofgren 2024-01-15 15:44:33 +01:00
parent e162406d40
commit fd1eec99b5
3 changed files with 3 additions and 3 deletions

View File

@ -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)) {

View File

@ -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);

View File

@ -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);
} }