From 9443f3b922cc280b3f51fe96c2426bca8bebb3f8 Mon Sep 17 00:00:00 2001 From: Mike Graves Date: Tue, 14 May 2024 14:08:35 -0400 Subject: [PATCH] Fix unsafe text assertion in tests This fixes a problem with unsafe text in an assertion. --- 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 e0657b3f23..03fc72695b 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: