From e984223827677444635254cc2a21f85dce5633b2 Mon Sep 17 00:00:00 2001 From: Jordi Massaguer Pla Date: Mon, 4 Dec 2023 17:31:50 +0100 Subject: [PATCH] TEST Signed-off-by: Jordi Massaguer Pla --- .../06_collect_and_tag_flaky_tests_in_controller.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/podman_runner/06_collect_and_tag_flaky_tests_in_controller.sh b/testsuite/podman_runner/06_collect_and_tag_flaky_tests_in_controller.sh index 97a5cbd279d8..3c0b1b4ceddc 100755 --- a/testsuite/podman_runner/06_collect_and_tag_flaky_tests_in_controller.sh +++ b/testsuite/podman_runner/06_collect_and_tag_flaky_tests_in_controller.sh @@ -1,3 +1,4 @@ #!/bin/bash set -xe -sudo -i podman exec controller-test bash -c "export GITHUB_TOKEN=${GITHUB_TOKEN} && cd /testsuite && rake utils:collect_and_tag_flaky_tests" +sudo -i podman exec controller-test bash -c "if [ \"${GITHUB_TOKEN}\" == \"\" ];then echo \"empty\";fi" +sudo -i podman exec controller-test bash -c "export GITHUB_TOKEN=${GITHUB_TOKEN} && cd /testsuite && ruby ext-tools/collect_and_tag_flaky_tests.rb features && rake utils:collect_and_tag_flaky_tests"