Skip to content

Commit

Permalink
Fix PositionInfoUtilsTest
Browse files Browse the repository at this point in the history
(cherry picked from commit 44ba614)
  • Loading branch information
eolivelli authored and dlg99 committed Sep 23, 2024
1 parent 568d446 commit 0240250
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void testSerializeDeserialize() throws Exception {
}, (scanner) -> {
long[] array = {7L, 8L};
scanner.acceptRange(1, 2, array);
});
}, 1024);

byte[] data = ByteBufUtil.getBytes(result);
MLDataFormats.PositionInfo positionInfoParsed = MLDataFormats.PositionInfo.parseFrom(data);
Expand Down Expand Up @@ -76,7 +76,7 @@ public void testSerializeDeserializeEmpty() throws Exception {

ByteBuf result = PositionInfoUtils.serializePositionInfo(entry, position, (scanner) -> {
}, (scanner) -> {
});
}, 1024);

byte[] data = ByteBufUtil.getBytes(result);
MLDataFormats.PositionInfo positionInfoParsed = MLDataFormats.PositionInfo.parseFrom(data);
Expand Down

0 comments on commit 0240250

Please sign in to comment.