Skip to content

Commit

Permalink
add a clean up of vm created by int test
Browse files Browse the repository at this point in the history
this vm was making the env cleanup to fail
  • Loading branch information
nader-ziada committed Nov 21, 2024
1 parent db919e5 commit 24f3ced
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bosh_aws_cpi/spec/integration/lifecycle_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 24f3ced

Please sign in to comment.