We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a5fb49 commit d1a350fCopy full SHA for d1a350f
test/cmd/migrate.sh
@@ -13,6 +13,8 @@ os::test::junit::declare_suite_start "cmd/migrate"
13
# This test validates storage migration
14
15
os::cmd::expect_success 'oc login -u system:admin'
16
+# ensure all namespaces have been deleted before attempting to perform global action
17
+os::cmd::try_until_not_text 'oc get ns --template "{{ range .items }}{{ if not (eq .status.phase \"Active\") }}1{{ end }}{{ end }}"' '1'
18
19
os::test::junit::declare_suite_start "cmd/migrate/storage"
20
os::cmd::expect_success_and_text 'oadm migrate storage' 'summary \(dry run\)'
0 commit comments