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

Unstable test runtime - same code behaves unpredictably #1053

Open
wsgac opened this issue Mar 4, 2022 · 3 comments
Open

Unstable test runtime - same code behaves unpredictably #1053

wsgac opened this issue Mar 4, 2022 · 3 comments

Comments

@wsgac
Copy link

wsgac commented Mar 4, 2022

I've recently noticed (based on two of my solutions) that code passing local tests instantly times out on your servers. Upon resubmitting the very same code passes. Below are links to said exercises:

@cafce25
Copy link

cafce25 commented Mar 21, 2022

Experiencing this as well, if you're sure your code should work you can rerun the tests by going into the online editor and clicking run tests there.
This seems to be especially severe when the solution in question does have a slightly longer build time (additional dependencies)
A solution to this could be building the tests with less strict timing requirements beforehand. (stack test --no-run-tests)
I'd try to create a PR but can't seem to find the server side test running code anywhere.

@petertseng
Copy link
Member

I'd try to create a PR but can't seem to find the server side test running code anywhere.

That sounds like a deficiency in the track's documentation. I have created #1056 to ask for this deficiency to be corrected.

@cafce25
Copy link

cafce25 commented Mar 23, 2022

Yea adding it to the readme should fix that part.
I've dug around a little more since I last wrote and it seems to me this cannot currently be fixed since the timeout is enforced on a higher layer (the respective docker container is killed)
See exercism/exercism#6238 and the documentation for tooling

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

3 participants