Skip to content

Commit 433dc56

Browse files
committed
trigger junit test.
1 parent 841f70a commit 433dc56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
script: unit
9898
script-args: -P${{ matrix.profile }}-tests
9999
split: ${{ matrix.profile }}
100-
timeout-minutes: 60
100+
timeout-minutes: 90
101101
secrets: inherit
102102

103103
coverage:

ratis-server/src/test/java/org/apache/ratis/InstallSnapshotNotificationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private void testAddNewFollowers(CLUSTER cluster, int numRequests) throws Except
252252
// Check the installed snapshot index on each Follower matches with the
253253
// leader snapshot.
254254
for (RaftServer.Division follower : cluster.getFollowers()) {
255-
final long expected = shouldInstallSnapshot ? leaderSnapshotInfo.getIndex() : RaftLog.INVALID_LOG_INDEX;
255+
final long expected = leaderSnapshotInfo.getIndex();
256256
Assertions.assertEquals(expected, RaftServerTestUtil.getLatestInstalledSnapshotIndex(follower));
257257
RaftSnapshotBaseTest.assertLogContent(follower, false);
258258
}

0 commit comments

Comments
 (0)