fixing failing tests

This commit is contained in:
LangChain4j 2024-08-28 11:07:38 +02:00
parent c4b6ed5c78
commit 1823f82ca6
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ public class MongoDBAtlasContainer extends GenericContainer<MongoDBAtlasContaine
withCommand("/bin/bash", "-c", "atlas deployments setup local-test --type local --port 27778 --bindIpAll --username root --password root --force && tail -f /dev/null");
withExposedPorts(27778);
waitingFor(Wait.forLogMessage(".*Deployment created!.*\\n", 1));
withStartupTimeout(Duration.ofMinutes(5));
withStartupTimeout(Duration.ofMinutes(10));
}
public String getConnectionString() {