Skip to content

Commit 9e564f6

Browse files
Mixaster995glazychev-art
authored andcommitted
test calico suite
Signed-off-by: Mikhail Avramenko <[email protected]>
1 parent 1e1d196 commit 9e564f6

File tree

5 files changed

+15
-4
lines changed

5 files changed

+15
-4
lines changed

.cloudtest.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
version: 1.0
33
root: "./.tests/cloud_test/"
4-
timeout: 7200 # 2 hour total total timeout
4+
timeout: 10800 # 3 hour total total timeout
55
shuffle-enabled: true
66
statistics:
77
enabled: true

.cloudtest_calico.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
version: 1.0
33
root: "./.tests/cloud_test_calico/"
4-
timeout: 7200 # 2 hour total total timeout
4+
timeout: 10800 # 3 hour total total timeout
55
shuffle-enabled: true
66
statistics:
77
enabled: true

.github/workflows/ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
- name: Install cloudtest # 3. Install cloudtest
8484
run: |
8585
go get github.com/networkservicemesh/cloudtest@master
86+
# GOPROXY=direct go get github.com/Mixaster995/cloudtest@no-cleanup
8687
env:
8788
GO111MODULE: on
8889
GOBIN: /bin

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/networkservicemesh/integration-k8s-packet
1+
module github.com/networkservicemesh/integratiohuhgyn-k8s-packet
22

33
go 1.16
44

main_test.go

+11-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
"github.com/stretchr/testify/suite"
2424

25-
"github.com/networkservicemesh/integration-tests/suites/basic"
25+
"github.com/networkservicemesh/integration-tests/suites/calico"
2626
"github.com/networkservicemesh/integration-tests/suites/heal"
2727
"github.com/networkservicemesh/integration-tests/suites/memory"
2828
"github.com/networkservicemesh/integration-tests/suites/multiforwarder"
@@ -42,6 +42,9 @@ func TestMemory(t *testing.T) {
4242
}
4343

4444
func TestSRIOV(t *testing.T) {
45+
if isCalico() {
46+
t.Skip("not available with Calico")
47+
}
4548
suite.Run(t, new(sriov.Suite))
4649
}
4750

@@ -69,3 +72,10 @@ func TestBasic(t *testing.T) {
6972
}
7073
suite.Run(t, new(basic.Suite))
7174
}
75+
76+
func TestCalico(t *testing.T) {
77+
if !isCalico() {
78+
t.Skip("not available without Calico")
79+
}
80+
suite.Run(t, new(calico.Suite))
81+
}

0 commit comments

Comments
 (0)