mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-04-17 14:21:07 +00:00
[Manual backport/stable-3] Fix unsafe text assertion in tests (#716)
Fix unsafe text assertion in tests
SUMMARY
This fixes a problem with unsafe text in an assertion.
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: GomathiselviS
Reviewed-by: Bikouo Aubin
(cherry picked from commit 8858b19)
This commit is contained in:
@@ -192,7 +192,7 @@
|
||||
- name: Check that module waited
|
||||
assert:
|
||||
that:
|
||||
- "{{ lookup('pipe', 'date +%s') }} - {{ start }} > 30"
|
||||
- ( lookup('pipe', 'date +%s')|int - start|int ) > 30
|
||||
|
||||
- name: Create simple pod
|
||||
k8s:
|
||||
|
||||
Reference in New Issue
Block a user