Skip to content

Commit

Permalink
Fix test assert
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Aug 27, 2024
1 parent 11c65f8 commit 274f9a9
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,11 @@ public void testOverflowDisabled() throws Exception {
strictCache.enableOverflow(false);
TransferManager tm = initializeTransferManager(strictCache);

IndexInput i1 = fetchBlobWithName(tm, "1");
IndexInput i2 = fetchBlobWithName(tm, "2");

assertThrows(IOException.class, () -> {
IndexInput i1 = fetchBlobWithName(tm, "1");
IndexInput i2 = fetchBlobWithName(tm, "2");
IndexInput i3 = fetchBlobWithName(tm, "3");
assertIndexInputIsFunctional(i1);
assertIndexInputIsFunctional(i2);
assertIndexInputIsFunctional(i3);
});
}

Expand Down

0 comments on commit 274f9a9

Please sign in to comment.