From 2947ea93e851c0af74592c4ce36f7b9444f1746d Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 11 Feb 2024 16:09:53 +0300 Subject: [PATCH] Raise test_snapshot_chain_ec timeout to 6 minutes --- .gitea/workflows/test.yml | 2 +- .gitea/workflows/tests-to-yaml.pl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 9bb0816a..683c1d58 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -395,7 +395,7 @@ jobs: steps: - name: Run test id: test - timeout-minutes: 3 + timeout-minutes: 6 run: SCHEME=ec /root/vitastor/tests/test_snapshot_chain.sh - name: Print logs if: always() && steps.test.outcome == 'failure' diff --git a/.gitea/workflows/tests-to-yaml.pl b/.gitea/workflows/tests-to-yaml.pl index ee497795..4a820331 100755 --- a/.gitea/workflows/tests-to-yaml.pl +++ b/.gitea/workflows/tests-to-yaml.pl @@ -39,6 +39,10 @@ for my $line (<>) $test_name .= '_'.lc($1).'_'.$2; } } + if ($test_name eq 'test_snapshot_chain_ec') + { + $timeout = 6; + } $line =~ s!\./test_!/root/vitastor/tests/test_!; # Gitea CI doesn't support artifacts yet, lol #- name: Upload results