-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Test Failures due to Timeout #94
Comments
@TheOtherBrian1 True, just noticed that as well. I think we should change those tests to use our Nginx server(one is started for the test suite) endpoints or Postman endpoints. |
@steve-chavez I could modify the tests to work with the Postman Echo API. It's designed specifically for this kind of testing, and can be easily swapped with httpbin. Looking through the tests, it would probably only take me half an hour to an hour to implement. Timeouts are still bound to happen occasionally, but it would be an improvement. |
@TheOtherBrian1 Cool. Please go ahead! |
@steve-chavez I added my changes to a pull request, but the automatic tests were taking an unusually long amount of time (more than an hour). I decided to close my request to prevent the action from maxing out. The changes I made were fairly mild, so I'm hesitant to think that I accidentally created an infinite loop that held up the server. It's possible that because the actions are dependent on the tests, the modifications interfered with their normal function. By default Github actions will timeout after 6 hours, which seems excessive in this context. It is probably wise to lower the timeout limit. |
@steve-chavez I have concerns regarding the I may be misinterpreting the C code, but if my understanding is accurate, this test does not seem feasible and may need to be removed or commented out. You have a lot more insight on the inner workings of the extension than I do, so I would like to know your interpretation of this problem. |
Bug report
Describe the bug
I noticed that my tests unexpectedly failed despite only making changes to the documentation. The root cause appears to be timeout errors resulting from the httpbin endpoints being excessively slow (over 2 seconds for response). These timeout errors are not accounted for in the tests, causing them to fail even with functional code.
To Reproduce
To replicate, simply run the tests. A failure typically occurs due to the unanticipated timeout error.
Expected behavior
The tests should retry requests if there is a timeout error.
The text was updated successfully, but these errors were encountered: