You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2019/11/12 22:26:55 UTC
[incubator-ratis] branch master updated: RATIS-751.
TestStateMachineShutdownWithGrpc fails with AssertionError. Contributed by
Lokesh Jain
This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 0ea2d2e RATIS-751. TestStateMachineShutdownWithGrpc fails with AssertionError. Contributed by Lokesh Jain
0ea2d2e is described below
commit 0ea2d2e6bf93a33027e20ef280a77e87dddb351e
Author: Tsz Wo Nicholas Sze <sz...@apache.org>
AuthorDate: Tue Nov 12 14:26:26 2019 -0800
RATIS-751. TestStateMachineShutdownWithGrpc fails with AssertionError. Contributed by Lokesh Jain
---
.../java/org/apache/ratis/server/impl/StateMachineShutdownTests.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ratis-server/src/test/java/org/apache/ratis/server/impl/StateMachineShutdownTests.java b/ratis-server/src/test/java/org/apache/ratis/server/impl/StateMachineShutdownTests.java
index e566700..7858f5a 100644
--- a/ratis-server/src/test/java/org/apache/ratis/server/impl/StateMachineShutdownTests.java
+++ b/ratis-server/src/test/java/org/apache/ratis/server/impl/StateMachineShutdownTests.java
@@ -56,6 +56,8 @@ public abstract class StateMachineShutdownTests<CLUSTER extends MiniRaftCluster>
}
}
}
+ RaftProtos.LogEntryProto entry = trx.getLogEntry();
+ updateLastAppliedTermIndex(entry.getTerm(), entry.getIndex());
future.complete(new RaftTestUtil.SimpleMessage("done"));
return future;
}