From 65ef37fd5f179dcb77adaa8b5195708c8ce46f22 Mon Sep 17 00:00:00 2001 From: Shivansh Arora Date: Fri, 5 Jul 2024 19:32:54 +0530 Subject: [PATCH] fix spotless Signed-off-by: Shivansh Arora --- .../gateway/remote/RemoteClusterStateServiceTests.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java b/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java index c7a00886ba7be..91ddd64cc2ccc 100644 --- a/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java +++ b/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java @@ -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")); }