Skip to main content

NO_SECOND_PAGE_REASON

Constant NO_SECOND_PAGE_REASON 

Source
pub const NO_SECOND_PAGE_REASON: &str = "this peer showed no page boundary: one pull carried everything the rule \
     wrote, so a `Nothing` answered at a boundary could not be checked; narrow \
     the declared batch limits to let the rule see a page. SY-37 is unverified \
     for this peer";
Expand description

The reason SY-37’s rule reports when the peer never showed it a second page.

Written by this crate rather than by the fixture, as happenstance_testkit::NO_CEILING_REASON is, because it is the same sentence for every peer that earns it. What the skip leaves unverified is the whole of SY-37: the rule cannot fail a peer whose every answer fits in one pull.

A peer that refused one of the rule’s logs earns LOG_REFUSED instead, because the fix is the opposite one: not narrower limits, but a push that honours the limits already declared.