Skip to content

Conversation

@zedkipp
Copy link
Contributor

@zedkipp zedkipp commented Dec 12, 2025

This change ensures keyring tests that utilize the real OS keyring use credentials that are isolated by process ID so that parallel test processes do not access the same credentials.

coder/internal#1192

This change ensures keyring tests that utilize the real OS keyring use
credentials that are isolated by process ID so that parallel test processes
do not access the same credentials.
@zedkipp zedkipp marked this pull request as ready for review December 13, 2025 00:40
if err != nil {
t.Fatal(err)
}
return fmt.Sprintf("%s_%v_%d", t.Name(), time.Now().UnixNano(), n)
Copy link
Member

@ethanndickson ethanndickson Dec 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flake was on Windows, and the Windows clock does have infamously poor precision (https://github.com/search?q=org%3Acoder+windows+clock+flake&type=issues, so I'm inclined to believe your hypothesis of multiple instances of the job running on the same Windows machine.

@zedkipp zedkipp merged commit 7ecfd1a into main Dec 15, 2025
36 checks passed
@zedkipp zedkipp deleted the zedkipp/keyring-isolate branch December 15, 2025 16:41
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants