Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
Fix --nopods tests to wait for pod list first
Browse files Browse the repository at this point in the history
  • Loading branch information
tmckayus committed May 11, 2018
1 parent 710dcab commit 9322d24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/cmd/get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ os::cmd::try_until_text "_output/oshinko get abc -o json" '"WorkerCount": 2'
os::cmd::try_until_text "_output/oshinko get def -o yaml" 'WorkerCount: 1'

# pods vs nopods
os::cmd::expect_success_and_text "_output/oshinko get abc -o json" '"pods"'
os::cmd::try_until_text "_output/oshinko get abc -o json" '"pods"'
os::cmd::expect_success_and_not_text "_output/oshinko get abc -o json --nopods" '"pods"'

# get all
Expand Down
2 changes: 1 addition & 1 deletion test/cmd/geteph.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ os::cmd::try_until_text "_output/oshinko get_eph abc -o json" '"WorkerCount": 2'
os::cmd::try_until_text "_output/oshinko get_eph abc -o yaml" 'WorkerCount: 2'

# pods vs nopods
os::cmd::expect_success_and_text "_output/oshinko get_eph abc -o json" '"pods"'
os::cmd::try_until_text "_output/oshinko get_eph abc -o json" '"pods"'
os::cmd::expect_success_and_not_text "_output/oshinko get_eph abc -o json --nopods" '"pods"'

# get all
Expand Down

0 comments on commit 9322d24

Please sign in to comment.