Skip to content

Commit 72908d4

Browse files
committed
Set nolint for non-parallel test
1 parent 43f45ff commit 72908d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/server_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ func TestServer(t *testing.T) {
119119
<-done
120120
})
121121
// Duplicated test from "Development" above to test setting email/password via env.
122+
// Cannot run parallel due to os.Setenv.
123+
//nolint:paralleltest
122124
t.Run("Development with email and password from env", func(t *testing.T) {
123-
// Cannot run parallel due to os.Setenv.
124125
ctx, cancelFunc := context.WithCancel(context.Background())
125126
defer cancelFunc()
126127

0 commit comments

Comments
 (0)