File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
instrumentation/mongodb/src/test/java/brave/mongodb Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,14 @@ final class MongoDBContainer extends GenericContainer<MongoDBContainer> {
3030 static final int MONGODB_PORT = 27017 ;
3131
3232 MongoDBContainer () {
33- // Use OpenZipkin's small test image, which is multi-arch and doesn't consume Docker Hub quota
34- super (parse ("ghcr.io/openzipkin/mongodb-alpine:4.0.5" ));
33+ // Mirrored image to avoid docker.io pulls:
34+ // docker buildx imagetools create --tag ghcr.io/openzipkin/mongo:8.2.6-noble mongo:8.2.6-noble
35+ super (parse ("ghcr.io/openzipkin/mongo:8.2.6-noble" ));
3536 if ("true" .equals (System .getProperty ("docker.skip" ))) {
3637 throw new TestAbortedException ("${docker.skip} == true" );
3738 }
3839 withExposedPorts (MONGODB_PORT );
39- waitStrategy = Wait .forLogMessage (".*waiting for connections.*" , 1 );
40+ waitStrategy = Wait .forLogMessage (".*[wW]aiting for connections.*" , 1 );
4041 withStartupTimeout (Duration .ofSeconds (60 ));
4142 withLogConsumer (new Slf4jLogConsumer (LOGGER ));
4243 }
You can’t perform that action at this time.
0 commit comments