pulumi/pkg/testing/integration
Thomas Gummerer f831cb942b
set PULUMI_HOME in ProgramTests (#15568)
Currently program test runs all programs with PULUMI_HOME unset. This
means that if programs run in parallel they share the same directory.
E.g. for login this means running in parallel only works if we always
log into the same backend, and there is no racyness between tests.

Set PULUMI_HOME to a temp directory, so each program test has its own
setup.

Fixes https://github.com/pulumi/pulumi/issues/15240

This complements https://github.com/pulumi/pulumi/pull/15559
2024-03-04 09:06:56 +00:00
..
command.go set PULUMI_HOME in ProgramTests (#15568) 2024-03-04 09:06:56 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
program.go set PULUMI_HOME in ProgramTests (#15568) 2024-03-04 09:06:56 +00:00
program_test.go Attempt to run Windows tests on small runners (#15070) 2024-01-05 21:44:04 +00:00
pulumi.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
s3reporter.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
util.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00