Skip to content

Commit

Permalink
test calico suite
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Avramenko <[email protected]>
  • Loading branch information
Mixaster995 authored and glazychev-art committed Feb 25, 2022
1 parent 8a726e3 commit 13d68c0
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .cloudtest.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
version: 1.0
root: "./.tests/cloud_test/"
timeout: 7200 # 2 hour total total timeout
timeout: 10800 # 3 hour total total timeout
shuffle-enabled: true
statistics:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion .cloudtest_calico.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
version: 1.0
root: "./.tests/cloud_test_calico/"
timeout: 7200 # 2 hour total total timeout
timeout: 10800 # 3 hour total total timeout
shuffle-enabled: true
statistics:
enabled: true
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
- name: Install cloudtest # 3. Install cloudtest
run: |
go get github.com/networkservicemesh/cloudtest@master
# GOPROXY=direct go get github.com/Mixaster995/cloudtest@no-cleanup
env:
GO111MODULE: on
GOBIN: /bin
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/networkservicemesh/integration-k8s-packet
module github.com/networkservicemesh/integratiohuhgyn-k8s-packet

go 1.16

Expand Down
12 changes: 11 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

"github.com/stretchr/testify/suite"

"github.com/networkservicemesh/integration-tests/suites/basic"
"github.com/networkservicemesh/integration-tests/suites/calico"
"github.com/networkservicemesh/integration-tests/suites/heal"
"github.com/networkservicemesh/integration-tests/suites/memory"
"github.com/networkservicemesh/integration-tests/suites/multiforwarder"
Expand All @@ -42,6 +42,9 @@ func TestMemory(t *testing.T) {
}

func TestSRIOV(t *testing.T) {
if isCalico() {
t.Skip("not available with Calico")
}
suite.Run(t, new(sriov.Suite))
}

Expand Down Expand Up @@ -69,3 +72,10 @@ func TestBasic(t *testing.T) {
}
suite.Run(t, new(basic.Suite))
}

func TestCalico(t *testing.T) {
if !isCalico() {
t.Skip("not available without Calico")
}
suite.Run(t, new(calico.Suite))
}

0 comments on commit 13d68c0

Please sign in to comment.