Skip to content

Commit 3470f28

Browse files
committed
wip
1 parent 5051b5f commit 3470f28

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/e2e/cruise/apiserverinteraction/apiserver_interaction_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ var _ = Describe("Liqo E2E", func() {
9797
_, err := util.EnforceNamespace(ctx, testContext.Clusters[0].NativeClient, testContext.Clusters[0].Cluster, namespaceName)
9898
Expect(err).ToNot(HaveOccurred())
9999

100+
By("Ensuring virtual nodes are ready")
101+
Eventually(func() bool {
102+
return util.CheckVirtualNodes(ctx, testContext.Clusters[0].NativeClient, clustersRequired)
103+
}, timeout, interval).Should(BeTrue())
104+
100105
Expect(util.OffloadNamespace(testContext.Clusters[0].KubeconfigPath, namespaceName,
101106
"--pod-offloading-strategy", "Remote")).To(Succeed())
102107
time.Sleep(2 * time.Second)

0 commit comments

Comments
 (0)