Page MenuHomePhabricator

zmq test: accept arbitrary sequence start number in ZMQSubscriber
ClosedPublic

Authored by PiRK on Nov 29 2021, 15:23.

Details

Summary

The ZMQSubscriber reception methods currently assert that the first
received publisher message has a sequence number of zero. In order to
fix the current test flakiness via "syncing up" to nodes in the setup
phase, we have to cope with the situation that messages get lost and the
first actual received message has a sequence number larger than zero.

This is a backport of core#21008 [2/3]
https://github.com/bitcoin/bitcoin/pull/21008/commits/8666033630eeaf851ec69e018bb53eb23093f4b9

Depends on D10589

Test Plan

ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable