Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Set
-limitdescendantcount
to match viable iteration limit
The original upstream commit looped sufficient times to reach the default value of `-limitdescendantcount`. However, it hard-coded the default of 1000, while also setting `-maxorphantx=1000`, leading to the erroneous belief that the former was derived from the latter (instead of what we now believe to be the reverse). When the value was decreased from 1000 to 120 (to account for ZIP 317 fees being larger, and lower block subsidy), `-maxorphantx` was changed but `-limitdescendantcount` was not set. This meant that the loop that creates the descendant tree would succeed one extra time, creating 121 transactions (because the descendant limit was still the default of 1000). Our hypothesis is that during the next phase of the test, something happens that causes these transactions to be treated as orphans, and the `-maxorphantx=120` setting was preventing them from being synced between nodes, causing timeouts that would then make the test more vulnerable to the GCP pods backing Tekton CI being evicted. We haven't confirmed this, but this commit fixes a clear bug so we are hoping this is sufficient to fix the non-deterministic test failures. Fixes zcash#6723. Co-authored-by: Kris Nuttycombe <kris@nutty.land>
- Loading branch information