You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Why
We often see repos integration tests fail with object already exists
errors. One hypothesis is that the Random string generator is not truly
random and pulls from a small seed pool in CI. This PR attempts to fix
that hypothetical issue by using UUIDs instead to generate the random
string.
Example failure:
```
=== FAIL: integration/cmd/repos TestReposGet (3.83s)
repos_test.go:80: CLOUD_ENV=***
repos_test.go:47:
Error Trace: C:/a/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/integration/cmd/repos/repos_test.go:47
C:/a/eng-dev-ecosystem/eng-dev-ecosystem/ext/cli/integration/cmd/repos/repos_test.go:83
Error: Received unexpected error:
a Workspace object at path /Repos/***/empty-repo-integration-pIdzKaCkfhBq already exists. Try a different path for your Repo or rename the existing Workspace object.
Request ID: 2a601c0f-75d2-4568-a7ac-7fc8a3423932
Test: TestReposGet
```
0 commit comments