Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3d3d488

Browse files
valaparthvirm3l
andauthoredMar 28, 2023
Update tests/integration/cmd_dev_test.go
Co-authored-by: Armel Soro <[email protected]>
1 parent bd5ad46 commit 3d3d488

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎tests/integration/cmd_dev_test.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -2677,7 +2677,10 @@ CMD ["npm", "start"]
26772677
if helper.IsKubernetesCluster() {
26782678
namespace = "namespace"
26792679
}
2680-
helper.WaitForDevModeToContain(helper.DevSessionOpts{}, fmt.Sprintf("You are using \"default\" %[1]s, odo may not work as expected in the default %[1]s.", namespace), true)
2680+
err := helper.RunDevMode(helper.DevSessionOpts{}, func(session *gexec.Session, outContents []byte, errContents []byte, ports map[string]string) {
2681+
Expect(string(errContents)).Should(ContainSubstring("You are using \"default\" %[1]s, odo may not work as expected in the default %[1]s.", namespace))
2682+
})
2683+
Expect(err).ShouldNot(HaveOccurred())
26812684
})
26822685
})
26832686
})

0 commit comments

Comments
 (0)
Please sign in to comment.