mirror of https://github.com/pulumi/pulumi.git
42c1a2bf01
CI land attempts have started failing occasionally on Windows with the following error: ``` === FAIL: . TestLanguageImportSmoke/go (4.00s) environment.go:96: Created new test environment: C:\Users\RUNNER~1\AppData\Local\Temp\test-env711178549 smoke_test.go:129: Running command pulumi login --cloud-url file://C:/Users/RUNNER~1/AppData/Local/Temp/test-env711178549 smoke_test.go:130: Running command pulumi new go --yes smoke_test.go:131: Running command pulumi import --yes random:index/randomId:RandomId identifier p-9hUg history_test.go:28: Error Trace: C:/a/pulumi/pulumi/sdk/go/common/testing/environment.go:132 C:/a/pulumi/pulumi/tests/history_test.go:28 C:/a/pulumi/pulumi/tests/smoke_test.go:132 Error: Received unexpected error: remove C:\Users\RUNNER~1\AppData\Local\Temp\test-env711178549\project: The process cannot access the file because it is being used by another process. Test: TestLanguageImportSmoke/go Messages: cleaning up test directory "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\test-env711178549" ``` The code path that is encountering this issue is hit after the integration test has already passed. So we're failing tests that are otherwise green because it's taking a little too long for the system to mark the resource as free. This makes make DeleteEnvironment more tolerant of these failures, logging them without marking the test as failed. |
||
---|---|---|
.. | ||
apitype | ||
constant | ||
diag | ||
display | ||
encoding | ||
env | ||
resource | ||
testing | ||
tokens | ||
tools | ||
util | ||
version | ||
workspace |