Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix random catchpoint catchup expect test case (algorand#1208)
The test was creating a proxy which delays requests execution as a way to slow down the catchpoint catchup process. This is important so that we can monitor from the goal command that the catchup is working as intended. However, delaying the command execution caused an issue where the node was trying to issue multiple requests for blocks 1-16, in parallel, which reached the proxy at an arbitrary order. As a result, the request for block #1 was delayed by more than 4 second, causing it it timeout. The solution was to reconfigure the number of parallel blocks being retrieved to 2. This would ensure that we only getting two blocks at a time. Since the delay is configured to 1.5 seconds, this would also be the delay, which is well under 4 second.
- Loading branch information