[@aws-cdk/custom-resources] Unreliable tests always fails on second test run #10017
Labels
@aws-cdk/custom-resources
Related to AWS CDK Custom Resources
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
needs-triage
This issue or PR still needs to be triaged.
The build and test runs the first time, but always fails on a subsequent run.
Reproduction Steps
Run
yarn build+test
twice.What did you expect to happen?
Expected the tests to pass the second time just like they did the first time.
What actually happened?
Tests fail with the following message:
This can be mitigated by running
rm -rf /tmp/*
to clear the created file out of the /tmp folder.Recommend making the test clean up its own state before its test runs, or determine if there is a deeper bug in the implementation here
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: