Skip to content

Commit 4140908

Browse files
authored
Merge pull request #2898 from NikhilSharmaWe/fixDeployImgTest
🌱 deploy-image/v1-alpha e2e tests: fix the value of label app.kubernetes.io/name e2e tests use the Kind without be in lower case
2 parents 9711dc8 + 315b166 commit 4140908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/deployimage/plugin_cluster_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ func Run(kbc *utils.TestContext) {
253253
By("validating that pod(s) status.phase=Running")
254254
getMemcachedPodStatus := func() error {
255255
status, err := kbc.Kubectl.Get(true, "pods", "-l",
256-
fmt.Sprintf("app.kubernetes.io/name=%s", strings.ToLower(kbc.Kind)),
256+
fmt.Sprintf("app.kubernetes.io/name=%s", kbc.Kind),
257257
"-o", "jsonpath={.items[*].status}",
258258
)
259259
ExpectWithOffset(2, err).NotTo(HaveOccurred())

0 commit comments

Comments
 (0)