Skip to content
Snippets Groups Projects
Commit 2ff6eaf3 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

split integration tests

parent 1f9572a7
No related branches found
No related tags found
1 merge request!159Resolve "Integration Tests Fail"
Pipeline #73721 failed
integration-test: .integration-test: &integration-test
image: golang:1.16 image: golang:1.16
stage: integration-test stage: integration-test
needs: needs:
...@@ -18,8 +18,24 @@ integration-test: ...@@ -18,8 +18,24 @@ integration-test:
allow_failure: true allow_failure: true
when: delayed when: delayed
start_in: 2 minutes start_in: 2 minutes
integration-test:nucleus:
<<: *integration-test
script:
- cd ./test/integration
- go test -race -v -coverprofile=coverage.out -run ^(TestGnmi_SetIntegration|TestGnmi_GetIntegration|TestGnmi_SubscribeIntegration|TestGnmi_CapabilitiesIntegration)$
integration-test:cmd:
<<: *integration-test
script:
- cd ./test/integration
- go test -race -v -coverprofile=coverage.out -run ^(TestMain|TestCmdIntegration)$
integration-test:cli:
<<: *integration-test
script: script:
- go test -race ./test/integration -v -coverprofile=coverage.out - cd ./test/integration
- go test -race -v -coverprofile=coverage.out -run TestCapabilities
.test: &test .test: &test
image: golang:1.16 image: golang:1.16
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment