Skip to content

Commit

Permalink
Try to fix sv2_template_provider_tests.cpp failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Feb 15, 2024
1 parent 56db604 commit c8d10af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/sv2_template_provider_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ BOOST_AUTO_TEST_CASE(client_tests)
// Check that there's a new template
BOOST_REQUIRE_EQUAL(tester.GetBlockTemplateCount(), 3);

// Wait a bit more for macOS native CI
UninterruptibleSleep(std::chrono::milliseconds{1000});

// Expect our peer te receive a NewTemplate message
BOOST_REQUIRE_EQUAL(tester.PeerReceiveBytes(), SV2_HEADER_ENCRYPTED_SIZE + 91 + 32 + Poly1305::TAGLEN);

Expand Down

0 comments on commit c8d10af

Please sign in to comment.