According to the documentation for T.Setenv(), B.Setenv(), and F.Setenv()
Because Setenv affects the whole process, it cannot be used in parallel tests or tests with parallel ancestors.
Calls to Setenv will panic if called in a parallel test
The tparallel linter should not require parallel tests if Setenv is called in the function
According to the documentation for
T.Setenv(),B.Setenv(), andF.Setenv()Calls to
Setenvwill panic if called in a parallel testThe
tparallellinter should not require parallel tests ifSetenvis called in the function