We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f4566e commit 05cf90cCopy full SHA for 05cf90c
ratis-server/src/test/java/org/apache/ratis/RaftBasicTests.java
@@ -457,7 +457,7 @@ public void testStateMachineMetrics() throws Exception {
457
458
static void runTestStateMachineMetrics(boolean async, MiniRaftCluster cluster) throws Exception {
459
RaftServer.Division leader = waitForLeader(cluster);
460
- try (final RaftClient client = cluster.createClient(leader.getPeer().getId())) {
+ try (final RaftClient client = cluster.createClient(leader.getId())) {
461
Gauge appliedIndexGauge = getStatemachineGaugeWithName(leader,
462
STATEMACHINE_APPLIED_INDEX_GAUGE);
463
Gauge smAppliedIndexGauge = getStatemachineGaugeWithName(leader,
0 commit comments