Light, fluffy, and always free - The AWS Local Emulator alternative
test: move the javadoc left behind when the shared test profiles were extracted (#4201)
Priamo Germosen208e36abe597
diff --git a/src/test/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2AlbIntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2AlbIntegrationTest.javaindex d46ed01edf..dd5437582d 100644--- a/src/test/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2AlbIntegrationTest.java+++ b/src/test/java/io/github/hectorvent/floci/services/apigatewayv2/ApiGatewayV2AlbIntegrationTest.java@@ -31,7 +31,6 @@ import static org.hamcrest.Matchers.*;@TestMethodOrder(MethodOrderer.OrderAnnotation.class)class ApiGatewayV2AlbIntegrationTest {- /** Overrides the default {@code elbv2.mock=true} so the listener actually binds. */private static final String AUTH ="AWS4-HMAC-SHA256 Credential=test/20260520/us-east-1/elasticloadbalancing/aws4_request";diff --git a/src/test/java/io/github/hectorvent/floci/services/docdb/DocDbTagConcurrencyTest.java b/src/test/java/io/github/hectorvent/floci/services/docdb/DocDbTagConcurrencyTest.javaindex bc70707ddf..ce47de9507 100644--- a/src/test/java/io/github/hectorvent/floci/services/docdb/DocDbTagConcurrencyTest.java+++ b/src/test/java/io/github/hectorvent/floci/services/docdb/DocDbTagConcurrencyTest.java@@ -22,12 +22,14 @@ import static org.junit.jupiter.api.Assertions.assertTrue;* <p>A tag update is a read-modify-write. Without a monitor shared with delete, the read can see a* live cluster, the delete can remove it, and the write then stores the record again — a cluster* that no describe created and no delete can remove.+ *+ * <p>The race is in storage, not in the container, so the DocumentDB container layer is mocked:+ * starting one per attempt would only add seconds.*/@QuarkusTest@TestProfile(DocDbMockProfile.class)class DocDbTagConcurrencyTest {- /** The race is in storage, not in the container: starting one per attempt only adds seconds. */@InjectDocDbService service;diff --git a/src/test/java/io/github/hectorvent/floci/services/docdb/SharedClusterIdentifierIntegrationTest.java b/src/test/java/io/github/hectorvent/floci/services/docdb/SharedClusterIdentifierIntegrationTest.javaindex 0c04ed3bfa..93eef1928e 100644--- a/src/test/java/io/github/hectorvent/floci/services/docdb/SharedClusterIdentifierIntegrationTest.java+++ b/src/test/java/io/github/hectorvent/floci/services/docdb/SharedClusterIdentifierIntegrationTest.java@@ -23,12 +23,14 @@ import static org.junit.jupiter.api.Assertions.assertTrue;* <p>A live account refuses to create an Aurora cluster named like an existing DocumentDB one with* {@code DBClusterAlreadyExistsFault}, and the reverse has to be refused too: two clusters of that* name in different stores would share one ARN, and no tag call could say which was meant.+ *+ * <p>Neither engine's container is what this is about, so both container layers are mocked:+ * starting one costs the test about 30 seconds.*/@QuarkusTest@TestProfile(RdsAndDocDbMockProfile.class)class SharedClusterIdentifierIntegrationTest {- /** Neither engine's container is what this is about, and starting one costs the test 30s. */@InjectDocDbService docDbService;