|
@@ -195,7 +195,7 @@ public class NodeJoinTests extends ESTestCase {
|
|
|
);
|
|
|
} else if (action.equals(JoinValidationService.JOIN_VALIDATE_ACTION_NAME)
|
|
|
|| action.equals(JoinHelper.JOIN_PING_ACTION_NAME)) {
|
|
|
- handleResponse(requestId, new TransportResponse.Empty());
|
|
|
+ handleResponse(requestId, TransportResponse.Empty.INSTANCE);
|
|
|
} else {
|
|
|
super.onSendRequest(requestId, action, request, destination);
|
|
|
}
|