mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
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.