ibessonov commented on a change in pull request #218: URL: https://github.com/apache/ignite-3/pull/218#discussion_r672282932
########## File path: modules/raft/src/test/java/org/apache/ignite/raft/jraft/rpc/TestMessageGroup.java ########## @@ -6,32 +6,22 @@ * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.ignite.raft.jraft.rpc.message; -import org.apache.ignite.raft.jraft.rpc.RpcRequests; +package org.apache.ignite.raft.jraft.rpc; -class PingRequestImpl implements RpcRequests.PingRequest, RpcRequests.PingRequest.Builder { - private long sendTimestamp; +import org.apache.ignite.network.annotations.MessageGroup; - @Override public long getSendTimestamp() { - return sendTimestamp; - } - - @Override public Builder setSendTimestamp(long timestamp) { - this.sendTimestamp = timestamp; - - return this; - } - - @Override public RpcRequests.PingRequest build() { - return this; - } +/** + * Message group for tests. + */ +@MessageGroup(groupType = 4, groupName = "TestRaftMessages") Review comment: I'm afraid that we'll have collisions -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
