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

Cleanup Jest Test Output (part 2) #19178

Merged
merged 23 commits into from
Nov 22, 2024
Merged

Conversation

jmchilton
Copy link
Member

Redo and expansion of #19164.

How to test the changes?

(Select all options that apply)

  • This is a refactoring of components with existing test coverage.

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

I don't think the test meant to issue the error so I fixed the call and I instrumented the queue to ensure errors don't happen in any of the tests.
An actual bug and the hack to work around Vue 2 warning in useMagicKeys.
See comments inline for how to test this works and my best shot at the explaining the problem.
Copy link
Contributor

@davelopez davelopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for all the cleaning!

I've rerun the client tests that were failing and they are passing now:

https://github.com/galaxyproject/galaxy/actions/runs/11958564319/job/33338362283?pr=19178

Likely because of the random nature of:

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.

There are many more things in the test output that can be fixed, but this is already a HUGE improvement! We can continue iterating on the cleanup in smaller chunks.
Thank you!

@davelopez davelopez merged commit cc36fad into galaxyproject:dev Nov 22, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants