Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Mahmoud Gaballah <[email protected]>
  • Loading branch information
myaser committed Aug 22, 2023
1 parent 10f0096 commit a5558ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suites/integration/networkinterfaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ var _ = Describe("NetworkInterfaces", func() {
Expect(instance.NetworkInterfaces).To(HaveLen(1))
Expect(instance.NetworkInterfaces[0]).ToNot(BeNil())
Expect(instance.NetworkInterfaces[0].Attachment).To(HaveField("DeviceIndex", HaveValue(Equal(int64(0)))))
Expect(*instance.NetworkInterfaces[0].Description).To(Equal(desc1))
Expect(*instance.NetworkInterfaces[0].Description).To(Equal(desc))
Expect(instance.PublicIpAddress).ToNot(BeNil())
})
It("should create a node with more than one NetworkInterface", func() {
Expand Down Expand Up @@ -156,7 +156,7 @@ var _ = Describe("NetworkInterfaces", func() {

Expect(instance.NetworkInterfaces[1]).ToNot(BeNil())
Expect(instance.NetworkInterfaces[1].Attachment).To(HaveField("DeviceIndex", HaveValue(Equal(int64(1)))))
Expect(*instance.NetworkInterfaces[0].Description).To(Equal(desc1))
Expect(*instance.NetworkInterfaces[1].Description).To(Equal(desc2))
})
})

Expand Down

0 comments on commit a5558ac

Please sign in to comment.