fix(auto-updater): use unique temp directory per test - #265
Conversation
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This empty commit triggers a new release to properly include the auto-updater fix from the previous release. Co-Authored-By: Claude <noreply@anthropic.com>
Changed TEMP_DIR from using $$ (PID) to $BATS_TEST_NAME to ensure each test has its own isolated temp directory. This fixes test #6 failing in CI due to shared state between tests. Root cause: When BATS runs tests in the same process, $$ returns the same PID for all tests, causing them to share the same TEMP_DIR. This leads to race conditions where one test's teardown affects another test's state. Co-Authored-By: Claude <noreply@anthropic.com>
f025dfc to
06c974c
Compare
Fix test #6 failing in CI due to shared TEMP_DIR between tests.
Changed from using $$ (PID) to $BATS_TEST_NAME for unique temp directory per test.