-
Notifications
You must be signed in to change notification settings - Fork 673
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
tests timing out #2671
Comments
Making the tests faster is probably the best solution as you say. |
There are some tests that seem to run an excessive time; everything that recently ran slower than 10s:
The Ramachandran ones in particular worry me – this should not be slow as it's just dihedrals. The ones in test_density will be removed eventually but it's also pretty bad that they take so long. |
For that particular suite of tests, there's quite a lot of them (3k+).
|
I'm just looking into this now, I wouldn't have guessed that that's the bottleneck : / |
It seems that for res1, res2 in zip(u.select_atoms("protein").residues[0:-2], u.select_atoms("protein").residues[1:-1]):
sel = res1.atoms.select_atoms('segid {} and name C'.format(res2.segment.segid)) + res2.atoms.select_atoms('name N', 'name CA', 'name C') |
Sorry @richardjgowers, didn't see your comment earlier -- I hope I haven't duplicated your work. @yuxuanzhuang thanks for the suggestion! That wouldn't quite produce the same behaviour as the current |
Going through old issues - closing this as tests now run somewhere between 10 to 16 mins on CI. There's probably scope for further optimising some of our tests, but at this point cutting off coverage for some of our runners might be more effective in the short term (tests can be as low as 7 mins on gh CI when we don't need coverage). Please do open a new issue if necessary. |
Travis has a 50 min timeout and it looks like our tests are getting very close to that and occaisionally timing out. It's very likely a 90/10 situation so rewriting a few tests can probably shave a few minutes off the average time.
The text was updated successfully, but these errors were encountered: