test: container not auto start

This commit is contained in:
ReaJason
2024-12-07 02:15:15 +08:00
parent a0a79a68f7
commit 1639ea1e93
9 changed files with 17 additions and 1 deletions
@@ -17,7 +17,6 @@ public class ContainerTool {
public static String getUrl(GenericContainer<?> container) {
container.start();
String host = container.getHost();
int port = container.getMappedPort(8080);
String url = "http://" + host + ":" + port + "/app";