Files
floci/src/test/java/io/github
TiM d69fd70545 test(elasticache): internal Quarkus integration test with cross-group isolation (#369)
* test(elasticache): add internal Quarkus integration test

New ElastiCacheIntegrationTest drives the ElastiCache service as a
QuarkusTest for protocol and state-transition coverage. First test
surface for this service (zero coverage previously).

Covers the query-API action matrix (CreateReplicationGroup,
CreateUser, ModifyUser, DescribeUsers, DeleteUser,
DeleteReplicationGroup) plus:
- proxy port allocation on group creation
- auth token rotation via ModifyUser
- state->response shape parity with the XML query API
- group-auth-token enforcement

Gates on Docker availability via Assumptions.assumeTrue so CI jobs
without a docker daemon skip cleanly rather than fail.

Does NOT assert SigV4 signature validation - the global
floci.auth.validate-signatures flag is disabled in the test harness
(src/test/resources/application.yml:36). Real SigV4 assertions for
this service are covered by Phase 0 validator unit tests.

* fix(test): add user-group association and cross-group isolation tests

Tests now call ModifyReplicationGroup to associate users with groups
before authenticating. Adds negative tests:
- Unassociated user rejected before association
- User from group A rejected on group B (cross-group isolation)

* fix(test): use string comparison for XML port and single-element assertions
2026-04-12 20:50:44 -05:00
..