(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,
new UserAgent("test"),
new UserAgent("test", "test"),
fileName, fileName2);
try (var reader = new ParquetSerializableCrawlDataStream(fileName2)) {

View file

@ -144,7 +144,7 @@ class WarcRecorderTest {
CrawledDocumentParquetRecordFileWriter.convertWarc(
"www.marginalia.nu",
new UserAgent("test"),
new UserAgent("test", "test"),
fileNameWarc,
fileNameParquet);

View file

@ -312,7 +312,7 @@ class CrawlerRetreiverTest {
private void convertToParquet(Path tempFileWarc2, Path tempFileParquet2) {
CrawledDocumentParquetRecordFileWriter.convertWarc("www.marginalia.nu",
new UserAgent("test"), tempFileWarc2, tempFileParquet2);
new UserAgent("test", "test"), tempFileWarc2, tempFileParquet2);
}