test: bump Talemu tests timeout

The internal timeout for the provision test is 6 minutes.
With 4 minutes timeout for the whole test run we miss the actual error
report.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
This commit is contained in:
Artem Chernyshev 2025-05-05 22:30:15 +03:00
parent c9f99476ca
commit 029ec05600
No known key found for this signature in database
GPG Key ID: E084A2DF1143C14D
2 changed files with 11 additions and 1 deletions

View File

@ -33,6 +33,8 @@ import (
"github.com/stretchr/testify/require"
"golang.org/x/sync/errgroup"
"google.golang.org/grpc/backoff"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
"google.golang.org/protobuf/types/known/emptypb"
"github.com/siderolabs/omni/client/api/omni/management"
@ -84,6 +86,14 @@ func clearConnectionRefused(ctx context.Context, t *testing.T, c *talosclient.Cl
return retry.ExpectedError(err)
}
// nolint:exhaustive
switch status.Code(err) {
case codes.DeadlineExceeded,
codes.Unavailable,
codes.Canceled:
return retry.ExpectedError(err)
}
t.Logf("clear connection refused failed, error: %s", err)
return err

View File

@ -159,7 +159,7 @@ if [[ "${RUN_TALEMU_TESTS:-false}" == "true" ]]; then
--expected-machines=30 \
--provision-config-file=hack/test/provisionconfig.yaml \
--run-stats-check \
-t 4m \
-t 10m \
-p 10 \
${TALEMU_TEST_ARGS:-}