Skip to content

Commit

Permalink
Use --wait instead of --no-wait=false
Browse files Browse the repository at this point in the history
  • Loading branch information
navidshaikh committed Apr 14, 2020
1 parent d747aa6 commit 93e497e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/basic_workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func serviceUpdate(r *test.KnRunResultCollector, serviceName string, args ...str
}

func serviceDelete(r *test.KnRunResultCollector, serviceName string) {
out := r.KnTest().Kn().Run("service", "delete", "--no-wait=false", serviceName)
out := r.KnTest().Kn().Run("service", "delete", "--wait", serviceName)
r.AssertNoError(out)
assert.Check(r.T(), util.ContainsAll(out.Stdout, "Service", serviceName, "successfully deleted in namespace", r.KnTest().Kn().Namespace()))
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/revision_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func revisionListWithService(r *test.KnRunResultCollector, serviceNames ...strin
}

func revisionDelete(r *test.KnRunResultCollector, revName string) {
out := r.KnTest().Kn().Run("revision", "delete", "--no-wait=false", revName)
out := r.KnTest().Kn().Run("revision", "delete", "--wait", revName)
assert.Check(r.T(), util.ContainsAll(out.Stdout, "Revision", revName, "deleted", "namespace", r.KnTest().Kn().Namespace()))
r.AssertNoError(out)
}
Expand Down

0 comments on commit 93e497e

Please sign in to comment.