Commit b2a42d2
committed
Merge #7610: test: wait for MN disconnect after in-place ProUpServ migration
107171b test: wait for MN disconnect after in-place ProUpServ migration (pasta)
Pull request description:
## Issue being fixed or feature implemented
- `feature_protx_version.py` flakes on the ASAN job because a post-v24 in-place `update_service` migration re-encodes `pubKeyOperator`. CMNAuth then drops verified connections, and the default `generate()` → `sync_all()` path asserts that every node still has at least one peer.
- Same race this test already handles for revoke and registrar key rotation; this path was missing `sync_fun=self.no_op`.
## What was done?
- Mine the ProUpServTx with `sync_fun=self.no_op`.
- Wait for the migrated masternode's old peers to disconnect, reconnect it to node 0, then `sync_all()`.
- Keep the `protx` / `getrawtransaction` checks on the mining node, which already has the block.
## How Has This Been Tested?
- Compared against the existing revoke and `update_registrar` disconnect handling in the same file.
- Root-caused from https://github.com/PastaPastaPasta/dash/actions/runs/31740186678/job/94598843934 (`feature_protx_version.py` failed 3/3 on `sync_blocks` peer-count assert; no AddressSanitizer report).
- Did not re-run the full functional test locally; it is a long masternode test and the failure is a timing race that shows up under ASAN slowdown.
## Breaking Changes
- None.
## Checklist:
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have added or updated relevant unit/integration/functional/e2e tests
- [ ] I have made corresponding changes to the documentation
- [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
This pull request was created by Codex.
ACKs for top commit:
knst:
ACK 107171b
Tree-SHA512: e019c170d94f0d6e2b477da2c9dfe84beeba64529f07cb1fade85ce94b80c5d571ffeb9217c6e570da21c02c6b8b975fca4b655fdd25d2b01ee232dc86fff0f41 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
262 | 266 | | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
| 273 | + | |
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
| |||
0 commit comments