Skip to content
Snippets Groups Projects
Commit 57a102ff authored by André Sterba's avatar André Sterba
Browse files

Fix controller integration tests

parent aa3d2c1c
No related branches found
No related tags found
1 merge request!291Fix controller integration tests
Pipeline #99598 passed
......@@ -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