Using multiple versions of the pulumi/pulumi SDK at runtime can cause promises to leak and your program to terminate early with outstanding work. This results in undefined behavior.
Is there a reason why using the resolutions field of the package.json doesn't work for your use case?
v
victorious-tomato-90057
10/14/2021, 2:48 AM
Thanks, I reckon we need to restructure our test codes. We have a new test pulumi project next to the Iac project and try to reference the files inside the Iac project, which bring two pulumi runtimes.
l
lemon-agent-27707
10/14/2021, 9:02 PM
You could try running your test projects as "local" projects instead rather than inline.