Browse code

test/cmd/migrate can race on image import under load

Clayton Coleman authored on 2016/09/11 13:30:29
Showing 1 changed files
... ...
@@ -26,9 +26,9 @@ os::test::junit::declare_suite_end
26 26
 os::test::junit::declare_suite_start "cmd/migrate/imagereferences"
27 27
 # create alternating items in history
28 28
 os::cmd::expect_success 'oc import-image --from=mysql:latest test:1 --confirm'
29
+os::cmd::expect_success 'oc import-image --from=php:latest test:2 --confirm'
29 30
 os::cmd::expect_success 'oc tag --source=docker php:latest test:1'
30 31
 os::cmd::expect_success 'oc tag --source=docker mysql:latest test:1'
31
-os::cmd::expect_success 'oc import-image --from=php:latest test:2 --confirm'
32 32
 os::cmd::expect_success 'oc tag --source=docker mysql:latest test:2'
33 33
 os::cmd::expect_success 'oc tag --source=docker php:latest test:2'
34 34
 os::cmd::expect_success 'oc tag --source=docker myregistry.com/php:latest test:3'