Skip to content

Commit

Permalink
Update e2e test for the new FeedReady condition
Browse files Browse the repository at this point in the history
  • Loading branch information
grantr committed Jul 17, 2018
1 parent 2c2b362 commit f200c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function wait_until_feed_ready() {
local reason="$(kubectl get -n $NAMESPACE feeds $NAME -o 'jsonpath={.status.conditions[0].reason}')"
local status="$(kubectl get -n $NAMESPACE feeds $NAME -o 'jsonpath={.status.conditions[0].status}')"

if [ "$reason" = "FeedSuccess" ]; then
if [ "$reason" = "FeedReady" ]; then
if [ "$status" = "True" ]; then
return 0
fi
Expand Down

0 comments on commit f200c13

Please sign in to comment.