Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
poorbarcode committed Feb 6, 2025
1 parent 5be6980 commit 19f8f5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5197,7 +5197,7 @@ public void testEstimateEntryCountBySize() throws Exception {
MLDataFormats.ManagedLedgerInfo.LedgerInfo ledgerInfo2 = ml.getLedgersInfo().get(ledger2);
long average1 = ledgerInfo1.getSize() / ledgerInfo1.getEntries();
long average2 = ledgerInfo2.getSize() / ledgerInfo2.getEntries();
long average3 = ml.currentLedgerSize / ml.currentLedgerEntries;
long average3 = ml.getCurrentLedgerSize() / ml.getCurrentLedgerEntries();
assertEquals(average1, 1);
assertEquals(average2, 2);
assertEquals(average3, 4);
Expand Down

0 comments on commit 19f8f5c

Please sign in to comment.