Skip to content

Commit

Permalink
Tests: ensure buckets are released from publish queue
Browse files Browse the repository at this point in the history
  • Loading branch information
marta-lokhova committed Sep 24, 2019
1 parent d38cc3a commit ab553f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/history/test/HistoryTestsUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,8 @@ CatchupSimulation::ensurePublishesComplete()
}

REQUIRE(hm.getPublishFailureCount() == 0);
// Make sure all references to buckets were released
REQUIRE(hm.getBucketsReferencedByPublishQueue().empty());
}

void
Expand Down

5 comments on commit ab553f0

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from MonsieurNicolas
at marta-lokhova@ab553f0

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging marta-lokhova/stellar-core/publish_queue_buckets_assert = ab553f0 into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

marta-lokhova/stellar-core/publish_queue_buckets_assert = ab553f0 merged ok, testing candidate = 93ef338

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 93ef338

Please sign in to comment.