Skip to content

Commit

Permalink
fix spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Shivansh Arora <[email protected]>
  • Loading branch information
shiv0408 committed Jul 5, 2024
1 parent 8a8f5ee commit 65ef37f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,10 @@ public void testTimeoutWhileWritingManifestFile() throws IOException {
anyList()
)
).thenReturn(new RemoteClusterStateUtils.UploadedMetadataResults());
RemoteStateTransferException ex = expectThrows(RemoteStateTransferException.class, () -> spiedService.writeFullMetadata(clusterState, randomAlphaOfLength(10)));
RemoteStateTransferException ex = expectThrows(
RemoteStateTransferException.class,
() -> spiedService.writeFullMetadata(clusterState, randomAlphaOfLength(10))
);
assertTrue(ex.getMessage().contains("Timed out waiting for transfer of manifest file to complete"));
}

Expand Down

0 comments on commit 65ef37f

Please sign in to comment.