win_wait_for: add a bit more stability to the tests (#43114)

This commit is contained in:
Jordan Borean 2018-07-23 05:16:22 +10:00 committed by GitHub
parent d43b2b54d5
commit 35f6bbf18b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,6 +272,12 @@
that:
- wait_for_port_already_started.wait_attempts == 1
# add a manual wait to make sure the port is truly offline for next test
- name: wait for port to be offline
win_wait_for:
port: '{{test_win_wait_for_port}}'
state: stopped
- name: wait for port that is already offline
win_wait_for:
port: '{{test_win_wait_for_port}}'