(cleanup) Fix broken tests
This commit is contained in:
parent
e162406d40
commit
fd1eec99b5
3 changed files with 3 additions and 3 deletions
|
@ -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)) {
|
||||
|
|
|
@ -144,7 +144,7 @@ class WarcRecorderTest {
|
|||
|
||||
CrawledDocumentParquetRecordFileWriter.convertWarc(
|
||||
"www.marginalia.nu",
|
||||
new UserAgent("test"),
|
||||
new UserAgent("test", "test"),
|
||||
fileNameWarc,
|
||||
fileNameParquet);
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue