@@ -140,7 +140,7 @@ public void writeTo(StreamOutput out) throws IOException {
140
140
assertThat (e .getCause ().getMessage (), containsString ("Simulated failure of diff serialization" ));
141
141
}
142
142
143
- public void testHandleRemoteIncomingPublishRequestWhenNoCurrentPublishRequest () {
143
+ public void testHandleIncomingRemotePublishRequestWhenNoCurrentPublishRequest () {
144
144
RemoteClusterStateService remoteClusterStateService = mock (RemoteClusterStateService .class );
145
145
146
146
PublishWithJoinResponse expectedPublishResponse = new PublishWithJoinResponse (new PublishResponse (TERM , VERSION ), Optional .empty ());
@@ -163,7 +163,7 @@ public void testHandleRemoteIncomingPublishRequestWhenNoCurrentPublishRequest()
163
163
Mockito .verifyNoInteractions (remoteClusterStateService );
164
164
}
165
165
166
- public void testHandleRemoteIncomingPublishRequestWhenTermMismatch () {
166
+ public void testHandleIncomingRemotePublishRequestWhenTermMismatch () {
167
167
RemoteClusterStateService remoteClusterStateService = mock (RemoteClusterStateService .class );
168
168
169
169
PublishWithJoinResponse expectedPublishResponse = new PublishWithJoinResponse (new PublishResponse (TERM , VERSION ), Optional .empty ());
@@ -188,7 +188,7 @@ public void testHandleRemoteIncomingPublishRequestWhenTermMismatch() {
188
188
Mockito .verifyNoInteractions (remoteClusterStateService );
189
189
}
190
190
191
- public void testHandleRemoteIncomingPublishRequestWhenVersionMismatch () {
191
+ public void testHandleIncomingRemotePublishRequestWhenVersionMismatch () {
192
192
RemoteClusterStateService remoteClusterStateService = mock (RemoteClusterStateService .class );
193
193
194
194
PublishWithJoinResponse expectedPublishResponse = new PublishWithJoinResponse (new PublishResponse (TERM , VERSION ), Optional .empty ());
@@ -213,7 +213,7 @@ public void testHandleRemoteIncomingPublishRequestWhenVersionMismatch() {
213
213
Mockito .verifyNoInteractions (remoteClusterStateService );
214
214
}
215
215
216
- public void testHandleRemoteIncomingPublishRequestForLocalNode () throws IOException {
216
+ public void testHandleIncomingRemotePublishRequestForLocalNode () throws IOException {
217
217
RemoteClusterStateService remoteClusterStateService = mock (RemoteClusterStateService .class );
218
218
219
219
PublishWithJoinResponse expectedPublishResponse = new PublishWithJoinResponse (new PublishResponse (TERM , VERSION ), Optional .empty ());
@@ -235,7 +235,7 @@ public void testHandleRemoteIncomingPublishRequestForLocalNode() throws IOExcept
235
235
Mockito .verifyNoInteractions (remoteClusterStateService );
236
236
}
237
237
238
- public void testHandleRemoteIncomingPublishRequestWhenManifestNotFound () throws IOException {
238
+ public void testHandleIncomingRemotePublishRequestWhenManifestNotFound () throws IOException {
239
239
RemoteClusterStateService remoteClusterStateService = mock (RemoteClusterStateService .class );
240
240
241
241
PublishWithJoinResponse expectedPublishResponse = new PublishWithJoinResponse (new PublishResponse (TERM , VERSION ), Optional .empty ());
@@ -261,7 +261,7 @@ public void testHandleRemoteIncomingPublishRequestWhenManifestNotFound() throws
261
261
Mockito .verify (remoteClusterStateService , times (1 )).getClusterMetadataManifestByFileName (Mockito .any (), Mockito .any ());
262
262
}
263
263
264
- public void testHandleRemoteIncomingPublishRequestWhenNoLastSeenState () throws IOException {
264
+ public void testHandleIncomingRemotePublishRequestWhenNoLastSeenState () throws IOException {
265
265
RemoteClusterStateService remoteClusterStateService = mock (RemoteClusterStateService .class );
266
266
267
267
PublishWithJoinResponse expectedPublishResponse = new PublishWithJoinResponse (new PublishResponse (TERM , VERSION ), Optional .empty ());
0 commit comments