From 9a43fc3401693e7c93c97ce48234b454d5c7ca4b Mon Sep 17 00:00:00 2001 From: Nader Ziada Date: Thu, 21 Nov 2024 15:40:23 -0500 Subject: [PATCH] test if cleanup the vm will resolve the env issue --- src/bosh_aws_cpi/spec/integration/lifecycle_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bosh_aws_cpi/spec/integration/lifecycle_spec.rb b/src/bosh_aws_cpi/spec/integration/lifecycle_spec.rb index f78e4cb6..f43d734c 100644 --- a/src/bosh_aws_cpi/spec/integration/lifecycle_spec.rb +++ b/src/bosh_aws_cpi/spec/integration/lifecycle_spec.rb @@ -114,6 +114,9 @@ instance_id, _ = cpi_v2.create_vm(nil, @stemcell_id, vm_type, network_spec, disks, environment) instance = cpi_v2.ec2_resource.instance(instance_id) expect(instance.tags).to_not be_nil + + # cleanup + cpi_v2.delete_vm(instance_id) end end