diff options
author | Martin Krizek <martin.krizek@gmail.com> | 2021-09-02 10:55:15 +0200 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2021-10-14 20:52:06 +0200 |
commit | 7cf29ded9c6329757af05e9fdd2ff9341906103a (patch) | |
tree | 3081a601b82e19b1b5096e6cf89f300e1731f7c3 /test/integration/targets/wait_for | |
parent | Remove incidental_win_dsc test. (diff) | |
download | ansible-7cf29ded9c6329757af05e9fdd2ff9341906103a.tar.xz ansible-7cf29ded9c6329757af05e9fdd2ff9341906103a.zip |
Intentional tests
ci_complete
ci_coverage
Diffstat (limited to 'test/integration/targets/wait_for')
-rw-r--r-- | test/integration/targets/wait_for/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/integration/targets/wait_for/tasks/main.yml b/test/integration/targets/wait_for/tasks/main.yml index 67e077868e..8c73fbec90 100644 --- a/test/integration/targets/wait_for/tasks/main.yml +++ b/test/integration/targets/wait_for/tasks/main.yml @@ -175,3 +175,15 @@ - waitfor is successful - waitfor is not changed - "waitfor.port == {{ http_port }}" + +- name: test wait_for with delay + wait_for: + timeout: 2 + delay: 2 + register: waitfor + +- name: verify test wait_for with delay + assert: + that: + - waitfor is successful + - waitfor.elapsed >= 4 |