Closed nejtr0n closed 1 year ago
Describe the bug TestResults in pkg/framework/runner/tests.go shoudl be protected with mutex to save write in parralel tests
To Reproduce If we start async example (https://github.com/ozontech/allure-go/blob/master/examples/async/async_suite_test.go) with data race flags
go test -v -race -parallel 10
We could see data race error in test results write
Expected behavior No data race error
Describe the bug TestResults in pkg/framework/runner/tests.go shoudl be protected with mutex to save write in parralel tests
To Reproduce If we start async example (https://github.com/ozontech/allure-go/blob/master/examples/async/async_suite_test.go) with data race flags
We could see data race error in test results write
Expected behavior No data race error