Description
Currently, ./scripts/run-bdd-tests.sh go only runs standard tests. I propose adding support for the -race flag to detect data race in the Go SDK.
Component
None
Proposed solution
Regarding the bdd test script, we should update run-bdd-tests.sh so it can handle a -race argument:
- Target Command:
./scripts/run-bdd-tests.sh go -race
- Internal Execution: Should run
go test -v -race -cpu 1,4 ./... in bdd/go/Dockerfile
In workflow, we should update the matrix to run both versions in parallel for Go BDD test:
- Job 1:
go
- Job 2:
go -race
Alternatives considered
No response