Skip to content

Commit

Permalink
Fix AddressSpace test expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Sep 14, 2023
1 parent e771e56 commit 5023f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/azure_privatecluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ func SetupExistingVNet(ctx context.Context, vnetCidr string, cpSubnetCidrs, node
Expect(err).NotTo(HaveOccurred())
vnetResp, err := vnetPoller.PollUntilDone(ctx, nil)
Expect(err).NotTo(HaveOccurred())
Expect(vnetResp.VirtualNetwork.Properties.AddressSpace).To(HaveLen(1))
Expect(vnetResp.VirtualNetwork.Properties.AddressSpace).NotTo(BeNil())

return func() {
Logf("deleting an existing virtual network %q", os.Getenv(AzureCustomVNetName))
Expand Down

0 comments on commit 5023f3a

Please sign in to comment.