Skip to content

Commit

Permalink
Fixing docker e2e emissary tests for hello application (#7887)
Browse files Browse the repository at this point in the history
  • Loading branch information
pokearu authored Mar 22, 2024
1 parent 12f8b6b commit 6b626bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/framework/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 6b626bb

Please sign in to comment.