Fix unsafe text assertion in tests (#716) (#717)

[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:
Mike Graves
2024-05-15 10:35:14 -04:00
committed by GitHub
parent 5044cfc030
commit d75e9a0fa3

View File

@@ -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: