Skip to content
Snippets Groups Projects
Commit 01b37951 authored by Andre Sterba's avatar Andre Sterba
Browse files

Fix controller integration tests

See merge request !291
parent aa3d2c1c
Branches
No related tags found
2 merge requests!291Fix controller integration tests,!264WIP: Develop
Pipeline #99602 failed
......@@ -41,10 +41,10 @@ controller-test: install-tools
ENVIRONMENT=testing ./$(TOOLS_DIR)/gotestsum --junitfile report.xml --format testname -- -race -v -run TestRun
lint: install-tools
./$(TOOLS_DIR)/golangci-lint run --config .gitlab/ci/.golangci-config/.golangci.yml
./$(TOOLS_DIR)/golangci-lint run --config ../.golangci.yml | jq
lint-fix: install-tools
./$(TOOLS_DIR)/golangci-lint run --config .gitlab/ci/.golangci-config/.golangci.yml --fix
./$(TOOLS_DIR)/golangci-lint run --config ../.golangci.yml --fix
ci-lint:
golangci-lint run --config ../.gitlab/ci/.golangci-config/.golangci.yml --out-format code-climate | jq -r '.[] | "\(.location.path):\(.location.lines.begin) \(.description)"'
......@@ -56,7 +56,7 @@ ci-controller-test: ci-install-tools
ENVIRONMENT=testing gotestsum --junitfile report.xml --format testname -- -race -v -run TestRun
integration-test-nucleus:
ENVIRONMENT=testing &&\
ENVIRONMENT=testing &&\
cd ./test/integration &&\
go test -race -v -run TestGnmi_SetIntegration &&\
go test -race -v -run TestGnmi_GetIntegration &&\
......@@ -64,6 +64,6 @@ integration-test-nucleus:
go test -race -v -run TestGnmi_CapabilitiesIntegration
integration-test-api:
ENVIRONMENT=testing &&\
ENVIRONMENT=testing &&\
cd ./api &&\
go test -race -v -run TestApiIntegration
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment