mirror of https://github.com/docker/docs.git
Fix integration test - label affinity in parallel
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
This commit is contained in:
parent
a0fd82b909
commit
c22d7fd78b
|
@ -149,7 +149,7 @@ function teardown() {
|
|||
swarm_manage
|
||||
|
||||
# Run 3 tests in parallel. One of them must fail.
|
||||
run parallel docker -H "${SWARM_HOSTS[0]}" run --label test.label=true -e affinity:test.label!=true -d busybox:latest ::: sh sh sh
|
||||
run parallel docker -H "${SWARM_HOSTS[0]}" run --label test.label=true -e affinity:test.label!=true -d busybox:latest ::: top top top
|
||||
[ "$status" -ne 0 ]
|
||||
[[ "${output}" == *'unable to find a node that satisfies test.label!=true'* ]]
|
||||
|
||||
|
|
Loading…
Reference in New Issue