-
Notifications
You must be signed in to change notification settings - Fork 49
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
Local test execution is too slow. #191
Comments
Here are the 20 slowest tests from a recent run of
|
The situation is getting worse. We need to figure out how to streamline the process. It used to be under 5 minutes to run the tests, but I think test_pocs.py now takes longer than that. As a start, we need to figure out where the time is going. |
Yes, the addition of PanFileDB made the tests much longe, which was mentioned in #414 as the reason I was hesitant to merge it. I think we could mark As mentioned before, I certainly don't run the full testing suite every time so this is usually not a problem for me. I'll run any specific test I am working on until it works then, run the full suite, then run any tests that fail as individual runs. If you have one specific test that is failing and want to explore it there is no reason to run the full suite. |
Sees like when testing locally we could choose one of either |
Agreed. We just need to have the ability to optionally use all three when
testing other components, and direct unit tests of each.
…On Mon, Aug 27, 2018, 11:11 PM Wilfred Tyler Gee ***@***.***> wrote:
Sees like when testing locally we could choose one of either mongo, file,
or memory and cut test time in 1/3
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#191 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYmU_NFgdK7InY03dE-SO6WecFPYqILks5uVLTigaJpZM4RCFWY>
.
|
As of right now the full testing suite is about 26 minutes (run on travis). This is after removing mongo. The most time is consumed by What we might also want is better documentation for developers about how to run individual tests. |
We want folks to be able to run the tests easily and often. Unfortunately a number of them are quite slow, including the new astrohaven test.
The text was updated successfully, but these errors were encountered: