Skip to content

Commit 2cf76e8

Browse files
committed
RATIS-2322. Revert WatchRequestTests Change.
1 parent 627187c commit 2cf76e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
import java.util.ArrayList;
5252
import java.util.Collection;
5353
import java.util.List;
54-
import java.util.Objects;
5554
import java.util.concurrent.CompletableFuture;
5655
import java.util.concurrent.ExecutionException;
5756
import java.util.concurrent.ThreadLocalRandom;
@@ -181,7 +180,7 @@ static class WatchReplies {
181180
Logger log) {
182181
this.logIndex = logIndex;
183182
this.majority = majority;
184-
this.all = Objects.requireNonNull(all, "ALL watch future is null");
183+
this.all = all;
185184
this.majorityCommitted = majorityCommitted;
186185
this.allCommitted = allCommitted;
187186
this.log = log;

0 commit comments

Comments
 (0)