]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.25] os/user: user random name for the test user account
authorqmuntal <quimmuntal@gmail.com>
Thu, 24 Jul 2025 13:38:35 +0000 (15:38 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 28 Jul 2025 18:34:45 +0000 (11:34 -0700)
commit84fb1b8253b54a5809b2e84bd38d9f1408c46766
treea9d46d16e51ea30d3ed04a8961976e12f8dc72f8
parentc95d3093ca7f7b66453dbe67b4d210ffa5d83a9a
[release-branch.go1.25] os/user: user random name for the test user account

TestImpersonated and TestGroupIdsTestUser are flaky due to sporadic
failures when creating the test user account when running the tests
from different processes at the same time.

This flakiness can be fixed by using a random name for the test user
account.

Fixes #73523
Fixes #74727
Fixes #74728
Fixes #74729
Fixes #74745
Fixes #74751

Cq-Include-Trybots: luci.golang.try:go1.25-windows-amd64-longtest
Change-Id: Ib2283a888437420502b1c11d876c975f5af4bc03
Reviewed-on: https://go-review.googlesource.com/c/go/+/690175
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
(cherry picked from commit 374e3be2eb9b546ef1340f750e343c15a8f87dde)
Reviewed-on: https://go-review.googlesource.com/c/go/+/690555
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Mark Freeman <mark@golang.org>
src/os/user/user_windows_test.go