diff --git a/src/test/baseindex_tests.cpp b/src/test/baseindex_tests.cpp index 4e9a03a1856..68907ad28d8 100644 --- a/src/test/baseindex_tests.cpp +++ b/src/test/baseindex_tests.cpp @@ -223,6 +223,9 @@ BOOST_FIXTURE_TEST_CASE(index_reorg_crash, TestChain100Setup) BOOST_REQUIRE(m_node.chainman->ProcessNewBlock(block, /*force_processing=*/true, /*min_pow_checked=*/true, nullptr)); } + // The index thread is blocked and not done + BOOST_CHECK(!index.GetSummary().synced); + // Unblock the index thread so it can process the reorg promise.set_value(); // Wait for the index to reach the new tip