mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
chore(test): disable event_testing in backend/v3 (#12241)
# Which Problems Are Solved `backed/v3` tests are flaky, but the code is not productive. Development is paused for the moment. Disabling flaky tests helps us to maintain the product easier. # How the Problems Are Solved - Removed 'events_testing' from the integration test command in both `CONTRIBUTING.md` and `apps/api/project.json` to streamline the testing process. - Adjusted the command to ensure it only includes relevant integration tests, improving clarity and focus for contributors.
This commit is contained in:
+1
-1
@@ -339,7 +339,7 @@ go test -count 1 -tags integration ./internal/api/grpc/management/integration_te
|
|||||||
To run all available integration tests:
|
To run all available integration tests:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go test -count 1 -tags integration -parallel 1 $(go list -tags integration ./... | grep -e \"integration_test\" -e \"events_testing\")
|
go test -count 1 -tags integration -parallel 1 $(go list -tags integration ./... | grep -e \"integration_test\")
|
||||||
```
|
```
|
||||||
|
|
||||||
It is also possible to run the API in a debugger and run the integrations tests against it.
|
It is also possible to run the API in a debugger and run the integrations tests against it.
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
"sources": [
|
"sources": [
|
||||||
"{workspaceRoot}/cmd/**/*.go",
|
"{workspaceRoot}/cmd/**/*.go",
|
||||||
"{workspaceRoot}/internal/**/*.go",
|
"{workspaceRoot}/internal/**/*.go",
|
||||||
"{workspaceRoot}/backend/**/*.go",
|
|
||||||
"{workspaceRoot}/proto/**/*.go",
|
"{workspaceRoot}/proto/**/*.go",
|
||||||
"{workspaceRoot}/pkg/**/*.go",
|
"{workspaceRoot}/pkg/**/*.go",
|
||||||
"{workspaceRoot}/main.go",
|
"{workspaceRoot}/main.go",
|
||||||
@@ -235,8 +234,8 @@
|
|||||||
},
|
},
|
||||||
"commands": [
|
"commands": [
|
||||||
"wait-on --verbose --interval 2000 --simultaneous 1 --timeout 30m \"${ZITADEL_API_URL}/debug/ready\"",
|
"wait-on --verbose --interval 2000 --simultaneous 1 --timeout 30m \"${ZITADEL_API_URL}/debug/ready\"",
|
||||||
"bash -c 'go test -race -count 1 -tags integration -timeout 60m -parallel 1 $(go list -tags integration ./... | grep -e \"integration_test\" -e \"events_testing\")'",
|
"bash -c 'go test -race -count 1 -tags integration -timeout 60m -parallel 1 $(go list -tags integration ./... | grep -e \"integration_test\")'",
|
||||||
"go tool covdata textfmt -i=$GOCOVERDIR -pkg=github.com/zitadel/zitadel/internal/...,github.com/zitadel/zitadel/cmd/...,github.com/zitadel/zitadel/backend/... -o profile.api.test-integration.cov",
|
"go tool covdata textfmt -i=$GOCOVERDIR -pkg=github.com/zitadel/zitadel/internal/...,github.com/zitadel/zitadel/cmd/... -o profile.api.test-integration.cov",
|
||||||
"nx run @zitadel/api:test-integration-stop"
|
"nx run @zitadel/api:test-integration-stop"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user