summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralgochoi <86622919+algochoi@users.noreply.github.com>2023-02-14 15:40:37 -0500
committeralgochoi <86622919+algochoi@users.noreply.github.com>2023-02-14 15:40:37 -0500
commit03682120116318075d45746ace14ffa0f131d163 (patch)
tree7e9c5f612be9b2a4be8b6e00568372cdbe2d82a3
parentc11c2fcbc2e6ef9ef721ed60785a2c904a5c9fa1 (diff)
Add comment to explain no parallelism on cmd datadir testsparallelize_cmd
-rw-r--r--cmd/goal/commands_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/goal/commands_test.go b/cmd/goal/commands_test.go
index de819f035..8f5d02510 100644
--- a/cmd/goal/commands_test.go
+++ b/cmd/goal/commands_test.go
@@ -33,7 +33,7 @@ func TestEnsureDataDirReturnsWhenDataDirIsProvided(t *testing.T) { // nolint:par
require.Equal(t, expectedDir, actualDir)
}
-func TestEnsureDataDirReturnsWhenWorkDirIsProvided(t *testing.T) {
+func TestEnsureDataDirReturnsWhenWorkDirIsProvided(t *testing.T) { // nolint:paralleltest // Sets shared OS environment variable.
partitiontest.PartitionTest(t)
expectedDir, err := os.Getwd()
if err != nil {
@@ -44,7 +44,7 @@ func TestEnsureDataDirReturnsWhenWorkDirIsProvided(t *testing.T) {
require.Equal(t, expectedDir, actualDir)
}
-func TestEnsureDataDirReturnsWhenRelPath1IsProvided(t *testing.T) {
+func TestEnsureDataDirReturnsWhenRelPath1IsProvided(t *testing.T) { // nolint:paralleltest // Sets shared OS environment variable.
partitiontest.PartitionTest(t)
expectedDir, err := os.Getwd()
if err != nil {
@@ -55,7 +55,7 @@ func TestEnsureDataDirReturnsWhenRelPath1IsProvided(t *testing.T) {
require.Equal(t, expectedDir, actualDir)
}
-func TestEnsureDataDirReturnsWhenRelPath2IsProvided(t *testing.T) {
+func TestEnsureDataDirReturnsWhenRelPath2IsProvided(t *testing.T) { // nolint:paralleltest // Sets shared OS environment variable.
partitiontest.PartitionTest(t)
expectedDir, err := os.Getwd()
if err != nil {
@@ -66,7 +66,7 @@ func TestEnsureDataDirReturnsWhenRelPath2IsProvided(t *testing.T) {
require.Equal(t, expectedDir, actualDir)
}
-func TestEnsureDataDirReturnsWhenRelPath3IsProvided(t *testing.T) {
+func TestEnsureDataDirReturnsWhenRelPath3IsProvided(t *testing.T) { // nolint:paralleltest // Sets shared OS environment variable.
partitiontest.PartitionTest(t)
expectedDir, err := os.Getwd()
if err != nil {