| 326 | } |
| 327 | |
| 328 | void AssertPayloadsEventually(const std::vector<uint64_t>& expected) { |
| 329 | BusyWait(1.0, [&]() { return ReadPayloads().size() == expected.size(); }); |
| 330 | ASSERT_EQ(ReadPayloads(), expected); |
| 331 | } |
| 332 | |
| 333 | protected: |
| 334 | void ReadUntilEof() { |