Skip to content

Commit

Permalink
mqbc::IncoreCSL.t: Use bmqtst::TestHelperUtil::allocator
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Jing Vincent Yan <[email protected]>
  • Loading branch information
kaikulimu committed Dec 10, 2024
1 parent 6dd2d52 commit b93a928
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/groups/mqb/mqbc/mqbc_incoreclusterstateledger.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ struct Tester {
bmqp_ctrlmsg::ClusterMessage message;
message.choice().makeLeaderAdvisoryAck(ack);

bdlbb::Blob ackEvent(d_cluster_mp->_bufferFactory(), s_allocator_p);
bdlbb::Blob ackEvent(d_cluster_mp->_bufferFactory(),
bmqtst::TestHelperUtil::allocator());
constructEventBlob(&ackEvent,
message,
ack.sequenceNumberAcked(),
Expand Down Expand Up @@ -1062,7 +1063,7 @@ static void test8_apply_ClusterStateRecordCommit()
invalidCommitMessage.choice().makeLeaderAdvisoryCommit(invalidCommit);

bdlbb::Blob invalidCommitEvent(tester.d_cluster_mp->_bufferFactory(),
s_allocator_p);
bmqtst::TestHelperUtil::allocator());
tester.constructEventBlob(&invalidCommitEvent,
invalidCommitMessage,
invalidCommit.sequenceNumber(),
Expand Down

0 comments on commit b93a928

Please sign in to comment.