win_wait_for: add a bit more stability to the tests (#43114)
This commit is contained in:
parent
d43b2b54d5
commit
35f6bbf18b
1 changed files with 6 additions and 0 deletions
|
@ -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}}'
|
||||
|
|
Loading…
Reference in a new issue