Skip to content

Commit

Permalink
[Test] Removed double retain in mocked ledger handle (apache#6792)
Browse files Browse the repository at this point in the history
  • Loading branch information
merlimat authored Apr 22, 2020
1 parent 028945a commit 65df994
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ public void asyncAddEntry(final byte[] data, final int offset, final int length,

@Override
public void asyncAddEntry(final ByteBuf data, final AddCallback cb, final Object ctx) {
data.retain();
bk.getProgrammedFailure().thenComposeAsync((res) -> {
try {
Thread.sleep(1);
Expand Down

0 comments on commit 65df994

Please sign in to comment.