Skip to content

Commit 0220af1

Browse files
authored
Increase CI test timeouts to improve MySQL backend test reliability (#421)
Increase test timeouts for CI
1 parent d3a96e9 commit 0220af1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/go.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Tests
3232
run: |
3333
go install github.com/jstemmer/go-junit-report/v2@latest
34-
go test -short -timeout 120s -race -count 1 -v ./... 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
34+
go test -short -timeout 240s -race -count 1 -v ./... 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
3535
3636
- name: Test Summary
3737
uses: test-summary/action@v2
@@ -65,7 +65,7 @@ jobs:
6565
- name: Tests
6666
run: |
6767
go install github.com/jstemmer/go-junit-report/v2@latest
68-
go test -timeout 120s -race -count 1 -v github.com/cschleiden/go-workflows/backend/redis 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
68+
go test -timeout 240s -race -count 1 -v github.com/cschleiden/go-workflows/backend/redis 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
6969
7070
- name: Test Summary
7171
uses: test-summary/action@v2
@@ -94,11 +94,11 @@ jobs:
9494
9595
- name: Tests (sqlite)
9696
run: |
97-
go test -timeout 120s -race -count 1 -v github.com/cschleiden/go-workflows/backend/sqlite 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
97+
go test -timeout 240s -race -count 1 -v github.com/cschleiden/go-workflows/backend/sqlite 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
9898
9999
- name: Tests (monoprocess backend)
100100
run: |
101-
go test -timeout 120s -race -count 1 -v github.com/cschleiden/go-workflows/backend/monoprocess 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
101+
go test -timeout 240s -race -count 1 -v github.com/cschleiden/go-workflows/backend/monoprocess 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
102102
103103
- name: Test Summary
104104
uses: test-summary/action@v2
@@ -127,7 +127,7 @@ jobs:
127127
- name: Tests
128128
run: |
129129
go install github.com/jstemmer/go-junit-report/v2@latest
130-
go test -timeout 120s -race -count 1 -v github.com/cschleiden/go-workflows/backend/mysql 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
130+
go test -timeout 240s -race -count 1 -v github.com/cschleiden/go-workflows/backend/mysql 2>&1 | go-junit-report -set-exit-code -iocopy -out "${{ github.workspace }}/report.xml"
131131
132132
- name: Test Summary
133133
uses: test-summary/action@v2

0 commit comments

Comments
 (0)