Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
Signed-off-by: bobz965 <[email protected]>
  • Loading branch information
bobz965 committed Aug 13, 2024
1 parent 2808190 commit 494d9bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/vip/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ var _ = framework.Describe("[group:vip]", func() {
namespaceName = f.Namespace.Name
cidr = framework.RandomCIDR(f.ClusterIPFamily)

// should create lower case static ipv6 address vip in ovn-defualt
// should create lower case static ipv6 address vip in ovn-default
lowerCaseStaticIpv6VipName = "lower-case-static-ipv6-vip-" + framework.RandomSuffix()
lowerCaseV6IP = "fd00:10:16::a1"
// should not create upper case static ipv6 address vip in ovn-defualt
// should not create upper case static ipv6 address vip in ovn-default
upperCaseStaticIpv6VipName = "Upper-Case-Static-Ipv6-Vip-" + framework.RandomSuffix()
upperCaseV6IP = "fd00:10:16::A1"

Expand Down Expand Up @@ -243,7 +243,7 @@ var _ = framework.Describe("[group:vip]", func() {
framework.ExpectEqual(lowerCaseStaticIpv6Vip.Status.V6ip, lowerCaseV6IP)
ginkgo.By("Should not create upper case static ipv6 address vip " + upperCaseStaticIpv6VipName)
upperCaseStaticIpv6Vip := makeOvnVip(namespaceName, upperCaseStaticIpv6VipName, util.DefaultSubnet, "", upperCaseV6IP, "")
upperCaseStaticIpv6Vip = vipClient.Create(upperCaseStaticIpv6Vip)
_ = vipClient.Create(upperCaseStaticIpv6Vip)
time.Sleep(10 * time.Second)
upperCaseStaticIpv6Vip = vipClient.Get(upperCaseStaticIpv6VipName)
framework.ExpectEqual(upperCaseStaticIpv6Vip.Status.V6ip, "")
Expand Down

0 comments on commit 494d9bd

Please sign in to comment.