mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Signed-off-by: Wilfried Roset <wilfriedroset@users.noreply.github.com>
(cherry picked from commit d214f49be7
)
Co-authored-by: wilfriedroset <wilfriedroset@users.noreply.github.com>
This commit is contained in:
parent
258471b267
commit
981c7849ce
3 changed files with 28 additions and 0 deletions
|
@ -158,3 +158,15 @@
|
|||
that:
|
||||
- search_deleted is skipped # each iteration is skipped
|
||||
- search_deleted is not changed # and then unchanged
|
||||
|
||||
- name: ensure session can be created with a ttl
|
||||
consul_session:
|
||||
state: present
|
||||
name: session-with-ttl
|
||||
ttl: 180 # sec
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- result is changed
|
||||
- result['ttl'] == 180
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue