Skip to content

Commit

Permalink
resolve failing test redhat-developer#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Girish Ramnani committed Jan 17, 2020
1 parent 957e355 commit 2f418b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func componentTests(args ...string) {
helper.ValidateLocalCmpExist(context, "Type,nodejs", "Name,"+componentName, "Application,"+appName)
helper.CmdShouldPass("odo", append(args, "push", "--context", context)...)
helper.CmdShouldPass("odo", append(args, "delete", "--context", context, "-f", "--all")...)
componentList := helper.CmdShouldPass("odo", append(args, "list", "--context", context)...)
componentList := helper.CmdShouldPass("odo", append(args, "list", "--app", appName, "--project", project)...)
Expect(componentList).NotTo(ContainSubstring(componentName))
files := helper.ListFilesInDir(context)
Expect(files).NotTo(ContainElement(".odo"))
Expand All @@ -512,7 +512,7 @@ func componentTests(args ...string) {
helper.CmdShouldPass("odo", append(args, "push", "--context", context)...)
helper.CmdShouldPass("odo", append(args, "delete", "--context", context, "-f")...)
helper.CmdShouldPass("odo", append(args, "delete", "--all", "-f", "--context", context)...)
componentList := helper.CmdShouldPass("odo", append(args, "list", "--context", context)...)
componentList := helper.CmdShouldPass("odo", append(args, "list", "--app", appName, "--project", project)...)
Expect(componentList).NotTo(ContainSubstring(componentName))
files := helper.ListFilesInDir(context)
Expect(files).NotTo(ContainElement(".odo"))
Expand Down

0 comments on commit 2f418b4

Please sign in to comment.