From 8858b191213765e53049e254db35ef2d0ca754cc Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Wed, 15 May 2024 02:50:26 -0400 Subject: [PATCH] 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 --- tests/integration/targets/k8s_info/tasks/wait.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/targets/k8s_info/tasks/wait.yml b/tests/integration/targets/k8s_info/tasks/wait.yml index e0657b3f..03fc7269 100644 --- a/tests/integration/targets/k8s_info/tasks/wait.yml +++ b/tests/integration/targets/k8s_info/tasks/wait.yml @@ -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: