Skip to content

Commit

Permalink
Update tests/integration/cmd_dev_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Armel Soro <armel@rm3l.org>
  • Loading branch information
valaparthvi and rm3l authored Mar 28, 2023
1 parent bd5ad46 commit 3d3d488
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/cmd_dev_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2677,7 +2677,10 @@ CMD ["npm", "start"]
if helper.IsKubernetesCluster() {
namespace = "namespace"
}
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)
err := helper.RunDevMode(helper.DevSessionOpts{}, func(session *gexec.Session, outContents []byte, errContents []byte, ports map[string]string) {
Expect(string(errContents)).Should(ContainSubstring("You are using \"default\" %[1]s, odo may not work as expected in the default %[1]s.", namespace))
})
Expect(err).ShouldNot(HaveOccurred())
})
})
})
Expand Down

0 comments on commit 3d3d488

Please sign in to comment.