Skip to content

Commit

Permalink
check if namespace is created
Browse files Browse the repository at this point in the history
Signed-off-by: anandrkskd <anandrkskd@gmail.com>
  • Loading branch information
anandrkskd committed Aug 25, 2022
1 parent 87c9b59 commit 7a03a73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/interactive_add_binding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ var _ = Describe("odo add binding interactive command tests", func() {
addBindableKindInOtherNs := commonVar.CliRunner.Run("-n", otherNS, "apply", "-f",
helper.GetExamplePath("manifests", "bindablekind-instance.yaml"))
Expect(addBindableKindInOtherNs.ExitCode()).To(BeEquivalentTo(0))
commonVar.CliRunner.HasNamespaceProject(nsWithNoService)

commonVar.CliRunner.SetProject(commonVar.Project)
})
Expand Down Expand Up @@ -559,6 +560,7 @@ var _ = Describe("odo add binding interactive command tests", func() {
addBindableKindInOtherNs := commonVar.CliRunner.Run("-n", otherNS, "apply", "-f",
helper.GetExamplePath("manifests", "bindablekind-instance.yaml"))
Expect(addBindableKindInOtherNs.ExitCode()).To(BeEquivalentTo(0))
commonVar.CliRunner.HasNamespaceProject(nsWithNoService)

commonVar.CliRunner.SetProject(commonVar.Project)
})
Expand Down

0 comments on commit 7a03a73

Please sign in to comment.