aboutsummaryrefslogtreecommitdiff
path: root/src/protocol/reqrep0/xreq_test.c
Commit message (Collapse)AuthorAge
* XREQ and others race on TTL.Garrett D'Amore2020-01-11
The TTL in these cases should have been atomic. To facilitate things we actually introduce an atomic int for convenience. We also introduce a convenience nni_msg_must_append_u32() and nni_msg_header_must_append_u32(), so that we can eliminate some failure tests that cannot ever happen. Combined with a new test for xreq, we have 100% coverage for xreq and more coverage for the other REQ/REP protocols.