pulumi/pkg/testing
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
..
integration set PULUMI_HOME in ProgramTests (#15568) 2024-03-04 09:06:56 +00:00