Skip to content

Commit 9f434fc

Browse files
committed
tests: extend timeout
1 parent a429e1b commit 9f434fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

workspace_resources_integration_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package tfe
55

66
import (
77
"context"
8+
"flag"
89
"testing"
910

1011
"github.com/stretchr/testify/assert"
@@ -13,6 +14,11 @@ import (
1314

1415
func TestWorkspaceResourcesList(t *testing.T) {
1516
t.Parallel()
17+
18+
// Once go 1.22+ is required, replace with:
19+
// t.SetTimeout(30 * time.Minute)
20+
flag.Set("test.timeout", "30m0s")
21+
1622
client := testClient(t)
1723
ctx := context.Background()
1824

0 commit comments

Comments
 (0)