You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #18098 from ironcladlou/observe-flake
Automatic merge from submit-queue (batch tested with PRs 18040, 18097, 18098, 18106, 18087).
Stabilize observe test
Stabilize the observe cmd test by removing the assumption that all services lack
annotations.
Fixes#17811.
os::cmd::expect_success_and_text 'oc observe services --once --all-namespaces -a "bad{ .metadata.annotations.unset }key"''badkey'
34
-
os::cmd::expect_failure_and_text 'oc observe services --once --all-namespaces -a "bad{ .metadata.annotations.unset }key" --strict-templates''annotations is not found'
33
+
os::cmd::expect_success_and_text 'oc observe services --once --all-namespaces -a "bad{ .missingkey }key"''badkey'
34
+
os::cmd::expect_failure_and_text 'oc observe services --once --all-namespaces -a "bad{ .missingkey }key" --strict-templates''missingkey is not found'
0 commit comments