Skip to content

Commit

Permalink
Fix the ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
zymap committed Mar 6, 2024
1 parent 8845a77 commit 5294415
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -540,10 +540,13 @@ public void testBookieStartWithReadonlyAndDiskIsLowerThanThreshold() throws Exce
configuration.setDiskLowWaterMarkUsageThreshold(0.80f);
configuration.setLedgerDirNames(new String[]{tmpDir1.toString()});

MockDiskChecker diskChecker = new MockDiskChecker(configuration.getDiskUsageThreshold(), configuration.getDiskUsageWarnThreshold());
MockDiskChecker diskChecker = new MockDiskChecker(
configuration.getDiskUsageThreshold(), configuration.getDiskUsageWarnThreshold());

LedgerDirsManager ldm = new LedgerDirsManager(configuration, configuration.getLedgerDirs(), diskChecker, statsLogger);
LedgerDirsMonitor ldmMonitor = new LedgerDirsMonitor(configuration, diskChecker, Collections.singletonList(ldm));
LedgerDirsManager ldm = new LedgerDirsManager(
configuration, configuration.getLedgerDirs(), diskChecker, statsLogger);
LedgerDirsMonitor ldmMonitor = new LedgerDirsMonitor(
configuration, diskChecker, Collections.singletonList(ldm));
MockLedgerDirsListener mockLedgerDirsListener = new MockLedgerDirsListener();
mockLedgerDirsListener.readOnly = true;
ldm.addLedgerDirsListener(mockLedgerDirsListener);
Expand Down

0 comments on commit 5294415

Please sign in to comment.