From 06b747cca832d2bbb0af9d4e236c87ee937834c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 26 Dec 2023 14:50:39 -0300 Subject: [PATCH] gha: ccruntime_e2e: Add a 30 minutes timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Today I've faced one test hanging for more than one hour, stuck, without giving us any useful information, leaving the "cancel" option (which is up to the user to do) as the only option to finish the test and re-start it. As a possible way to avoid wasting resources for too long, let's simply add a timeout of 30 minutes in the execution of the e2e tests. This is 10 minutes more than what's been observed as the total time taken by this step. Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ccruntime_e2e.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ccruntime_e2e.yaml b/.github/workflows/ccruntime_e2e.yaml index 27e267d8..e106565b 100644 --- a/.github/workflows/ccruntime_e2e.yaml +++ b/.github/workflows/ccruntime_e2e.yaml @@ -25,6 +25,7 @@ jobs: sudo apt-get install -y ansible python-is-python3 - name: Run e2e tests + timeout-minutes: 30 run: | cd tests/e2e export PATH="$PATH:/usr/local/bin"