IntersectMBO / ouroboros-network

Specifications of network protocols and implementations of components running these protocols which support a family of Ouroboros Consesus protocols; the diffusion layer of the Cardano Node.
https://ouroboros-network.cardano.intersectmbo.org
Apache License 2.0
276 stars 86 forks source link

Test failure: node never uses non-trustable peers in clean state #4942

Closed karknu closed 2 weeks ago

karknu commented 1 month ago

CI test failure:

sim-tests --quickcheck-replay="(SMGen 1055325783478325567 18154453325318164197,92)" -p '/node never uses non-trustable peers in clean state/'
crocodile-dentist commented 2 weeks ago

So the problem occurs when a target for known peers is decreased and a trusted local root peer is dropped immediately. This peer stays in the known peers set until another action in the governor sweeps it out, but until that happens the test logic is written such that it is flagged as an error when known peers /= trusted peers, even if for a brief while.