Skip to content
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

Improve connection tests #2797

Open
mvadari opened this issue Oct 3, 2024 · 0 comments
Open

Improve connection tests #2797

mvadari opened this issue Oct 3, 2024 · 0 comments

Comments

@mvadari
Copy link
Collaborator

mvadari commented Oct 3, 2024

The connections tests take 21 seconds to run, and have the following error message:

A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.

The rest of the tests only take about 7 seconds to run, in comparison.

File: https://github.com/XRPLF/xrpl.js/blob/main/packages/xrpl/test/connection.test.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant