Skip to content

Commit f6bfb80

Browse files
author
Furkhat Kasymov Genii Uulu
committed
slow TestIntegration
1 parent 4673b0d commit f6bfb80

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
CGO_ENABLED: 0
5555

5656
- name: Test
57-
run: go test -short -race -parallel=10 ./...
57+
run: go test -short -race -timeout 30m ./...
5858

5959
- name: Set up QEMU
6060
uses: docker/setup-qemu-action@v2

.github/workflows/pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
CGO_ENABLED: 0
5353

5454
- name: Test
55-
run: go test -short -race -parallel=10 ./...
55+
run: go test -short -race -timeout 30m ./...
5656

5757
- name: Set up QEMU
5858
uses: docker/setup-qemu-action@v2

internal/actions/csr/integration_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,9 @@ import (
2828
csrtest "github.com/castai/cluster-controller/internal/actions/csr/test"
2929
)
3030

31-
func TestIntegrationV1(t *testing.T) {
31+
func TestIntegration(t *testing.T) {
3232
t.Parallel()
3333
testIntegration(t, certv1.SchemeGroupVersion)
34-
}
35-
36-
func TestIntegrationV1beta1(t *testing.T) {
37-
t.Parallel()
3834
testIntegration(t, certv1beta1.SchemeGroupVersion)
3935
}
4036

0 commit comments

Comments
 (0)