Lokalstackbild: 0.14.3 (Ich habe andere Bilder ausprobiert, aber das gleiche Ergebnis)
POM: Springboot: 3.3.1, Spring-Boot-Starter-Test, TestContainers- BOM: 1.18.3, Lokalstack
Laufzeit: Java 17, Docker Version 20.10.23, Build 7155243
Test Env: Linux u-1lgz9kmok1MJS 6.8.0-1021-AWS #23 ~ 22.04.1-UBUNTUUSE SMP -TUE 10. Dezember 16:50:46 UTC 2024 x86_64 x86_64 x86_64 gnu /linux
Ich kann Lokalstapel direkt mit Docker komponieren. Verwenden Sie meinen anderen Amazon-Arbeitsbereich. Version 20.10.23, Build 7155243 < /p>
Konfigurationscode -Snippet: < /p>
Code: Select all
@Override
public void beforeAll(ExtensionContext context) throws IOException, InterruptedException {
localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:0.14.3"))
.withServices(SQS);
localStack.start();
localStack.execInContainer("awslocal", "sqs", "create-queue", "--queue-name",
"request-group-to-purchase-order-dev");
// Create DLQ
localStack.execInContainer("awslocal", "sqs", "create-queue", "--queue-name",
REQUISITION_TO_ALM_DLQ, "--attributes",
"{\"FifoQueue\":\"true\", \"ContentBasedDeduplication\":\"true\"}");
< /code>
Fehler während des Testlaufs < /p>
2025-02-14 09:40:31.406 DEBUG main o.t.containers.output.WaitingConsumer : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:31.481 DEBUG docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire : wire: http-outgoing-1