Skip to content

Make generated application user names unique - #4001

Open
gunndabad wants to merge 1 commit into
mainfrom
claude/unique-application-user-names
Open

gunndabad wants to merge 1 commit into
mainfrom
claude/unique-application-user-names

Conversation

@gunndabad

Copy link
Copy Markdown
Member

ApplicationUserTests.AddApplicationUser fails intermittently with "Sequence contains more than one element". It finds the user it created by name, but Faker.Company.Name() doesn't guarantee unique names, so another application user in the run can have the same one.

  • Add the existing application user counter to the end of generated names

🤖 Generated with Claude Code

Faker.Company.Name() has a small pool of names, so two application users
in a run could share one. AddApplicationUser looks up the user it created
by name, so it failed when that happened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant