From a0f41918866b86f476eaf15e8ee1b0247de2c531 Mon Sep 17 00:00:00 2001 From: Aravind Ramalingam Date: Fri, 22 Mar 2024 13:35:05 -0700 Subject: [PATCH] Fixing docker e2e emissary tests for hello application --- test/framework/cluster.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/framework/cluster.go b/test/framework/cluster.go index d5ce8fe297e6..fb7126e017f1 100644 --- a/test/framework/cluster.go +++ b/test/framework/cluster.go @@ -1610,7 +1610,7 @@ func (e *ClusterE2ETest) TestEmissaryPackageRouting(packageName, checkName strin ctx := context.Background() packageMetadatNamespace := fmt.Sprintf("%s-%s", constants.EksaPackagesName, e.ClusterName) - err := e.KubectlClient.ApplyKubeSpecFromBytes(ctx, e.Cluster(), emisarryPackage) + err := e.KubectlClient.ApplyKubeSpecFromBytesWithNamespace(ctx, e.Cluster(), emisarryPackage, packageMetadatNamespace) if err != nil { e.T.Errorf("Error upgrading emissary package: %v", err) return @@ -1634,6 +1634,8 @@ func (e *ClusterE2ETest) TestEmissaryPackageRouting(packageName, checkName strin e.T.Errorf("Error applying roles for oids: %v", err) return } + e.T.Log("Waiting for hello service") + time.Sleep(60 * time.Second) // Functional testing of Emissary Ingress ingresssvcAddress := checkName + "." + constants.EksaPackagesName + ".svc.cluster.local"