-
Notifications
You must be signed in to change notification settings - Fork 79
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
Sleep is required to pass tests. See https://github.com/stellar/soroban-cli/pull/1202 #1231
Comments
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedAm a software engineer How I plan on tackling this issueI will go through the documentation and implement the all the instruction.. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedMy name is Koxy. I'm a blockchain Rust developer and Stellar ecosystem contributor. As an SCF Pathfinder and contributor to Stellar documentation, I have hands-on experience with both Rust and the Stellar platform. My background in open-source development and familiarity with Stellar's architecture positions me well to address the timing issues in Soroban CLI tests. I'm eager to implement immediate solutions while collaborating with the team on long-term improvements to enhance Soroban CLI's reliability. How I plan on tackling this issueTo address the timing issues in the Soroban CLI tests, I would:
|
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have experience in JavaScript and TypeScript, particularly in testing and debugging CLI tools. I understand the intricacies of test environments and the importance of reliable test execution. How I plan on tackling this issueI’d investigate the current test setup to identify why a sleep is required for tests to pass. I’d analyze the test timing and dependencies, then implement a solution to ensure the tests run reliably without unnecessary delays, potentially optimizing the test flow. |
Helllo @janewang @willemneal for this other issue, Was i supposed to run a command to start up my connection in my local environment?. |
Yes you need to start a quickstart server. If you are in the repo you can use
|
Also this issues likely stems from the fact that multiple tests are trying to upload the same wasm binary at the same time. A possible solution is to modify the Wasm binary for each test, by adding some random data to a custom section. This would mean that each test would have a unique wasm file to upload. The sleeps acted as a way for the tests no run sequentially which solved the issue of submitting the same wasm quickly. Here is an example from loam, which had similar issues with its tests. Checkout the rest of the PR for more details. |
okay, on this. |
I have fixed this issues. This test works fine now, sleep is no longer needed for test to pass. This is my pull request here. Kindly help review #1651 |
This issue is stale because it has been assigned for 30 days with no activity. It will be closed in 30 days unless the stale label is removed, and the assignee is removed or updated. |
What version are you using?
What did you do?
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: