Skip to content

Commit

Permalink
fix chance of test flaking
Browse files Browse the repository at this point in the history
  • Loading branch information
juanvallejo committed Oct 18, 2016
1 parent 390f3a1 commit 0b0f5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cmd/annotations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ os::test::junit::declare_suite_end
os::test::junit::declare_suite_start "cmd/label"
# This test validates empty values in key-value pairs set by the label command
os::cmd::expect_success_and_text 'oc label pod zookeeper-1 label2=""' 'pod "zookeeper-1" labeled'
os::cmd::expect_success_and_text 'oc get pod zookeeper-1 --template="{{.metadata.labels}}"' 'label2\: '
os::cmd::expect_success_and_text 'oc get pod zookeeper-1 --template="{{.metadata.labels}}"' 'label2\:'

echo "label: ok"
os::test::junit::declare_suite_end
os::test::junit::declare_suite_end

0 comments on commit 0b0f5f2

Please sign in to comment.