mirror of
https://github.com/floci-io/floci.git
synced 2026-12-03 02:07:58 -05:00
EcsFargateTest took the first subnet it found, so its tasks could attach to another test's network. It now owns a VPC and subnet through Ec2TestNetwork, gives its cluster and task family unique names, and registers each client, the network, the cluster, the task definition and every task it starts for teardown in reverse order, stopping each task before the network goes. FixtureCleanup, now shared with StepFunctionsHttpInvokeNativeTest, runs every action and adds the failures to the test's own failure, or fails the run with all of them when the test passed. Co-authored-by: Andre Kurait <AndreKurait@gmail.com>