Skip to content

Commit

Permalink
Update beekeeper to runtime exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza Jugon committed Nov 25, 2024
1 parent 66ad261 commit 0948aea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ public void mixOfAllPaths() {
}

@Test
void metadataCleanerException() {
public void metadataCleanerException() {
Mockito
.doNothing()
.doThrow(new BeekeeperException("Error"))
.doThrow(new RuntimeException("Error"))
.when(metadataCleaner)
.dropTable(Mockito.any(HousekeepingMetadata.class), Mockito.any(HiveClient.class));

Expand Down Expand Up @@ -270,7 +270,7 @@ void metadataCleanerException() {
}

@Test
void invalidPaths() {
public void invalidPaths() {
List<HousekeepingMetadata> tables = List
.of(createHousekeepingMetadata("table1", "s3://invalid", null, SCHEDULED),
createHousekeepingMetadata("table2", "s3://invalid/path", "partition", SCHEDULED));
Expand Down

0 comments on commit 0948aea

Please sign in to comment.