Skip to content

Commit 2a9c077

Browse files
committed
pam/gdmmodel-test: Increase timeout when running in CI
1 parent 356f6a2 commit 2a9c077

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pam/internal/adapter/gdmmodel_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2551,6 +2551,9 @@ func TestGdmModel(t *testing.T) {
25512551
if tc.timeout == 0 {
25522552
tc.timeout = 10 * time.Second
25532553
}
2554+
if testutils.IsCI() {
2555+
tc.timeout *= 3
2556+
}
25542557
waitChan := make(chan struct{})
25552558
go func() {
25562559
wg.Wait()

0 commit comments

Comments
 (0)