serving
serving copied to clipboard
Random int created for running e2e tests is not thread safe.
/area test-and-release /kind bug
We are creating a random int once per test case so that every case is unique and do not conflict. But, we are generating our own rand and that is not thread safe and fails when the e2e tests are run in parallel - https://github.com/golang/go/issues/3611
Potential options:
- Use a locking mechanism to get the random suffix
- Use a global rand instead of generating our own.