Repository navigation
test: Fix intermittent failure in feature_segwit - #24578
Hidden character warning
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
tACK d6b24e1. I was able to reproduce the bug (#24421 (comment)) prior to this fix using: |
|
Code review ACK d6b24e1 Is there a way to introduce random sleeps into the test logic to flush out other racy test bugs? |
|
Sure, it should be possible to inject a random sleep after sendrawtransaction. Though, I am not sure if this is going to give consistent results either. I think the only way would be to do the same for txs that was done for blocks. (Always sync unless opted out). |
|
post merge ACK |
There are intermittent failures on current master (#24421 (comment)) as the witness txs occasionally make it into other node's mempools when they shouldn't.
Fix this by removing the test as suggested earlier in #24421 (comment).
Fixes #24590