-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: [birpc] timeout on calling "fetch" on CI/CD environment #4106
Comments
Can we add a way to pass timeout in Our temporary solution: add a line in our script before running test sed -i 's/const DEFAULT_TIMEOUT = 6e4;/const DEFAULT_TIMEOUT = 6e6;/' node_modules/vitest/dist/vendor-index.b271ebe4.js |
The default timeout there is 60 seconds. If your The reproduction case here is not enough as it makes Are you using |
Hello @tychenjiajun. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
How does |
It should not affect |
I have the same issue - while running tests in pipeline i sometimes get this error
@tychenjiajun were you able to solve this issue? |
See #4106 (comment) |
Describe the bug
This may be caused by the dynamic import function
import()
.Reproduction
Modify
DEFAULT_TIMEOUT
to1
in node_modules/vitest/dist/vendor-index.b271ebe4.js, and run the following test.You can see error:
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: