diff --git a/test/e2e/docker_test.go b/test/e2e/docker_test.go index b8bbd6bd908e..c8ae72157634 100644 --- a/test/e2e/docker_test.go +++ b/test/e2e/docker_test.go @@ -1218,6 +1218,13 @@ func TestDockerCiliumSkipUpgrade_CLIUpgrade(t *testing.T) { test.GenerateClusterConfig(framework.ExecuteWithEksaRelease(previousRelease)) test.CreateCluster(framework.ExecuteWithEksaRelease(previousRelease)) test.ReplaceCiliumWithOSSCilium() + + t.Log("Waiting for cilium replacement to complete") + // Wait two minutes before validating cluster state and attempting the upgrade + // After replacing cilium, the nodes can temporarily go into a not ready state + // and we want to give them time to recover before validating the cluster state + time.Sleep(5 * time.Minute) + test.ValidateClusterState() test.UpgradeClusterWithNewConfig( []framework.ClusterE2ETestOpt{