I am coding in JavaScript and facing an issue where my results are correct as expected. However, when running test cases, it exceeds the limit. How can I resolve this?
Hi @kunalvirdi, I moved your post to a standalone topic, since it seems to be a separate issue.
We recently experienced a downtime incident, which should be resolved now.
Could you check again, and let me know if the issue persists or if your tests are still timing out?
Yes, the issue still persists. This time, I intentionally caused the code to fail by sending a random response after a certain time, but it still failed with the same error.
Got it! Could you upload your code to GitHub and share the link? It will be much easier to debug if I can run it directly.
Here is, Link of my code to github, I have added test-client files for testing purpose and add some debug messages as well for better understanding.
I tried running your code against the previous stages, but it’s no longer passing #UM0 (Streams - Query single stream using XREAD).
Suggestions:
- Use our CLI to test against previous stages by running:
codecrafters test --previous
- Focus on fixing the early stages first, as later stages depend on them.
Thanks for your assistance, I’ll figure out bug in code and will try the stage again!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.