Skip to content

Commit

Permalink
fix unitest issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Gong Yongjie committed Apr 8, 2024
1 parent 2653b8e commit 7c2b047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/settings/ingress_class.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ var _ = framework.IngressNginxDescribe("[Flag] ingress-class", func() {
f.EnsureIngress(ing)

f.WaitForNginxConfiguration(func(cfg string) bool {
return !strings.Contains(cfg, "server_name "+validHost)
return strings.Contains(cfg, "server_name "+validHost)
})

f.HTTPTestClient().
Expand Down

0 comments on commit 7c2b047

Please sign in to comment.