Files
floci/src/test/java
Priamo Germosen 39a164cd19 test: share one real EKS profile across the two k3s cluster classes (#6038)
Slice 15 of #4542.

EksRegistryHostsDockerIntegrationTest and
EksStorageClassDockerIntegrationTest each declared a profile setting
only floci.services.eks.mock=false. Both now share RealEksProfile, so
two nested profiles become one.

The registry hosts class creates its cluster and node group through the
EKS API, which starts no container while EKS is mocked, so it relies on
the override. The storage class test starts its cluster through
EksClusterManager directly and passes with EKS mocked; it shares the
profile because it runs a real cluster too. The profile's javadoc says
which class relies on the override and why.

The registry hosts class deleted its cluster after the test but left
its node group and launch template behind, since deleting a cluster
does not delete its node groups. It now registers deletes for all three
with PartitionCleanup as it creates them.

EksIrsaDockerIntegrationTest also turns the mock off, but keeps a
profile of its own: it turns on IAM enforcement as well, which would
decide every request the other classes send.
2026-10-19 21:32:27 -05:00
..