From affe8fc270b25a72760d962701959461bee64f54 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 17 Jun 2023 00:29:03 +0300 Subject: [PATCH] Raise timeout also for add_osd and rebalance_verify --- .gitea/workflows/test.yml | 10 +++++----- .gitea/workflows/tests-to-yaml.pl | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index ea7650ae..08c45fcd 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -71,7 +71,7 @@ jobs: steps: - name: Run test id: test - timeout-minutes: 3 + timeout-minutes: 10 run: /root/vitastor/tests/test_add_osd.sh - name: Print logs if: always() && steps.test.outcome == 'failure' @@ -323,7 +323,7 @@ jobs: steps: - name: Run test id: test - timeout-minutes: 3 + timeout-minutes: 10 run: /root/vitastor/tests/test_rebalance_verify.sh - name: Print logs if: always() && steps.test.outcome == 'failure' @@ -341,7 +341,7 @@ jobs: steps: - name: Run test id: test - timeout-minutes: 3 + timeout-minutes: 10 run: IMMEDIATE_COMMIT=1 /root/vitastor/tests/test_rebalance_verify.sh - name: Print logs if: always() && steps.test.outcome == 'failure' @@ -359,7 +359,7 @@ jobs: steps: - name: Run test id: test - timeout-minutes: 3 + timeout-minutes: 10 run: SCHEME=ec /root/vitastor/tests/test_rebalance_verify.sh - name: Print logs if: always() && steps.test.outcome == 'failure' @@ -377,7 +377,7 @@ jobs: steps: - name: Run test id: test - timeout-minutes: 3 + timeout-minutes: 10 run: SCHEME=ec IMMEDIATE_COMMIT=1 /root/vitastor/tests/test_rebalance_verify.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 5a2b9a1c..b34b88ca 100755 --- a/.gitea/workflows/tests-to-yaml.pl +++ b/.gitea/workflows/tests-to-yaml.pl @@ -9,7 +9,8 @@ for my $line (<>) chomp $line; my $test_name = $1; my $timeout = 3; - if ($test_name eq 'test_etcd_fail' || $test_name eq 'test_heal' || $test_name eq 'test_interrupted_rebalance') + if ($test_name eq 'test_etcd_fail' || $test_name eq 'test_heal' || $test_name eq 'test_add_osd' || + $test_name eq 'test_interrupted_rebalance' || $test_name eq 'test_rebalance_verify') { $timeout = 10; }