Skip to content

Commit

Permalink
Add missing test cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
  • Loading branch information
Didainius committed Jun 24, 2023
1 parent 2088f2e commit 4697cd6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions govcd/ip_space_uplink_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ func (vcd *TestVCD) Test_IpSpaceUplink(check *C) {
_, err = vcd.client.GetIpSpaceUplinkById(updatedUplinkConfig.IpSpaceUplink.ID)
check.Assert(ContainsNotFound(err), Equals, true)

err = extNet.Delete()
check.Assert(err, IsNil)

err = ipSpace.Delete()
check.Assert(err, IsNil)
}

func createIpSpace(vcd *TestVCD, check *C) *IpSpace {
Expand Down

0 comments on commit 4697cd6

Please sign in to comment.