-
Notifications
You must be signed in to change notification settings - Fork 1
Contract tests vitest worker timeout error during test run #315
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
During contract test execution, vitest encounters an unhandled timeout error that may cause false positive test results.
Error Message
Vitest caught 1 unhandled error during the test run.
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
Error: [vitest-worker]: Timeout calling "onTaskUpdate"
at Object.onTimeoutError node_modules/vitest/dist/chunks/rpc.-pEldfrD.js:53:10
at Timeout._onTimeout node_modules/vitest/dist/chunks/index.B521nVV-.js:59:62
Test Results
- 85 tests passed
- 6 tests failed (related to missing contracts - tracked in Missing tipstream-multisig contract causes 3 test failures #309 and Missing tipstream-token contract causes 3 test failures #310)
- 1 unhandled error
Reproduction
npm testEnvironment
- vitest: ^3.2.4
- clarinet-sdk: ^3.6.0
Proposed Fix
- Investigate if the timeout is caused by long-running simnet operations
- Consider increasing vitest timeout configuration
- Check if parallel test execution is causing resource contention
- Review vitest-environment-clarinet configuration
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working