mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
test: move the javadoc left behind when the shared test profiles were extracted (#4201)
This commit is contained in:
1 parent
d96e41cf2f
commit
208e36abe5
3 files changed
+6
-3
No files matched your search
-1
@@ -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";
|
||||
|
||||
|
||||
+3
-1
@@ -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. */
|
||||
@Inject
|
||||
DocDbService service;
|
||||
|
||||
|
||||
+3
-1
@@ -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. */
|
||||
@Inject
|
||||
DocDbService docDbService;
|
||||
|
||||
|
||||
Reference in new issue
Block a user