Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.TimeUnit;

import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.hamcrest.Matchers.equalTo;
Expand Down Expand Up @@ -158,7 +159,9 @@ static void assertDatabasesLoaded() throws Exception {

// ensure that the extra config database has been set up, too:
assertThat(node.get("config_databases"), equalTo(List.of("asn.mmdb")));
});
// Downloading all four databases may take some time, so we set a longer timeout here.
// If 20 seconds prove insufficient, we should first investigate whether we can speed up the database downloader.
}, 20, TimeUnit.SECONDS);
}

@SuppressForbidden(reason = "fixtures use java.io.File based APIs")
Expand Down