Skip to content

Commit 010f390

Browse files
author
OpenShift Bot
authored
Merge pull request #13475 from smarterclayton/migrate_flake
Merged by openshift-bot
2 parents a73d732 + d1a350f commit 010f390

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/cmd/migrate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ os::test::junit::declare_suite_start "cmd/migrate"
1313
# This test validates storage migration
1414

1515
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'
1618

1719
os::test::junit::declare_suite_start "cmd/migrate/storage"
1820
os::cmd::expect_success_and_text 'oadm migrate storage' 'summary \(dry run\)'

0 commit comments

Comments
 (0)