From 3caff55c5cb9ffa2c1631de3f759b47fd3ebaa85 Mon Sep 17 00:00:00 2001 From: Florian Ruynat <16313165+floryut@users.noreply.github.com> Date: Wed, 28 Apr 2021 11:18:30 +0200 Subject: [PATCH] Fix issue with api token wait check not working --- tests/testcases/030_check-network.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testcases/030_check-network.yml b/tests/testcases/030_check-network.yml index 5b18d6a8b0d..6cee651efe8 100644 --- a/tests/testcases/030_check-network.yml +++ b/tests/testcases/030_check-network.yml @@ -49,7 +49,7 @@ executable: /bin/bash changed_when: false register: default_token - until: default_token.stdout.find('') == -1 + until: default_token.stdout | length > 0 retries: 5 delay: 5