File tree 1 file changed +9
-1
lines changed
test/e2e_env/kubernetes/gateway
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -558,17 +558,25 @@ spec:
558
558
routes := httpRoute ("test-server-mlbs" , "/mlbs" , "test-server-mlbs_simple-gateway_svc_80" )
559
559
560
560
BeforeAll (func () {
561
+ testServerApp := "test-server-mlbs"
561
562
err := NewClusterSetup ().
562
563
Install (testserver .Install (
563
564
testserver .WithMesh (meshName ),
564
565
testserver .WithNamespace (namespace ),
565
- testserver .WithName ("test-server-mlbs" ),
566
+ testserver .WithName (testServerApp ),
566
567
testserver .WithStatefulSet (true ),
567
568
testserver .WithReplicas (3 ),
568
569
)).
569
570
Install (YamlK8s (routes ... )).
570
571
Setup (kubernetes .Cluster )
571
572
Expect (err ).ToNot (HaveOccurred ())
573
+
574
+ for _ , fn := range []InstallFunc {
575
+ WaitNumPods (namespace , 3 , testServerApp ),
576
+ WaitPodsAvailable (namespace , testServerApp ),
577
+ } {
578
+ Expect (fn (kubernetes .Cluster )).To (Succeed ())
579
+ }
572
580
})
573
581
574
582
AfterAll (func () {
You can’t perform that action at this time.
0 commit comments