-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix: tets hang up #1906
fix: tets hang up #1906
Conversation
@robertsLando try to execute this PR many times and give me feedback if it working right, please. |
Thanks for this PR @MaximoLiberata ! I hope you are right, unfortunately I will not be on my pc till Monday but I will definitely look at this ASAP! I checked the changes and it feels strange only this test was causing the issue, my feel was that there were many of them with this same problem. Did they always succeed now or they just fail less? |
I'm glad to contribute. The short answer, they just fail less. There are some more bugs might hang up the tests, but I haven't found the cause yet. I tried to cover all the tests as async/await or change the logic of tests; however, the tests failed. This test in specific was the main bug that hang up other tests that call On the other hand, when the server is closed or hang up, the tests that use it will hang up. We need to careful with the use of Until now, I executed the tests using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🙏🏼 LGTM
@MaximoLiberata Tests seems much more reliable now! Thanks again 🙏🏼 |
I'm glad to hear! And thank you for checking 🙏🏼. |
Fixes (#1897 (comment)).
When you try to execute the tests maybe one of them will fail because it hanged up and never ends. This PR fix that bug in almost all cases.