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

[General: Slow Testing Exercises] Exercises that have Slow Running Tests that Time Out in the UI #2624

Open
2 tasks
BethanyG opened this issue Oct 2, 2021 · 2 comments

Comments

@BethanyG
Copy link
Member

BethanyG commented Oct 2, 2021

This is an open issue for Exercises that have reasonable solutions that "time out" under test in the UI.

To be clear -- this is not for exercises that time out due to inefficient code, but ones that reasonably pass in in the runner locally or in docker, but take too long in the UI once the containers are spun up and configured.

For now, we need to flag these as "slow", so that they don't run on the website and unnecessarily take up resources.

Please add any additional exercises you think fit this criteria. Thanks!

  • Palindrome Products
  • Pythagorean Triplet
@BethanyG
Copy link
Member Author

BethanyG commented Oct 2, 2021

As talked about in a previous Slack discussion, we should add notes to these exercises to the effect:

Note: your solution must complete in under 10s for the tests to pass on the online editor and exercism website.

@BethanyG
Copy link
Member Author

BethanyG commented Oct 2, 2021

Link to issues that also deal with this problem: Elixir 817 & exercism docs 169. As suggested in the Elixir issue, since PyTest (our runner) supports a skip, we could perhaps turn off the data intensive tests, rather than the whole exercise, and add an append to the exercise to describe to the student what do to to run those "heavy" tests.

IIRC, the tests for these exercises are auto-generated, so we may or may not need to play with tests.toml and/or the JinJa2 template associated with them. We'll cross that bridge once we have a set to look at. 😄

Link to the docs that cover track config
Link to practice exercise config

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