]> Cypherpunks repositories - gostls13.git/commit
os: remove t.Parallel in TestMkdirStickyUmask
authorxieyuschen <xieyuschen@gmail.com>
Sat, 5 Oct 2024 07:52:21 +0000 (15:52 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 7 Oct 2024 16:32:12 +0000 (16:32 +0000)
commit4b4b2fcaa47b6f2a49a63a70605e75c7e1e846d4
tree69427cc233b747cd24f22dc1a738586a007bdc5a
parent092d18b31824d35a07f796c90380d5e607b61681
os: remove t.Parallel in TestMkdirStickyUmask

The TestMkdirStickyUmask modifies the umask for testing purpose.
When run in parallel with TestCopyFS, this temporary umask change can cause TestCopyFS to create files with unintended permissions, leading to test failures.

This change removes the t.Parallel call in TestMkdirStickyUmask to prevent interference with TestCopyFS, ensuring it doesn't run concurrently with the other tests that require umask.

Fixes #69788

Change-Id: I9cf1da9f92283340ff85d2721781760a750d124c
Reviewed-on: https://go-review.googlesource.com/c/go/+/618055
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
src/os/os_unix_test.go