szetszwo commented on PR #828:
URL: https://github.com/apache/ratis/pull/828#issuecomment-1454965455
`testWithInterceptors` will fail if adding a sleep between sending the
requests.
```java
+++
b/ratis-test/src/test/java/org/apache/ratis/grpc/tests/TestDeadlineClientInterceptor.java
@@ -89,6 +89,7 @@ public class TestDeadlineClientInterceptor extends
BaseTest {
final List<CompletableFuture<String>> futures = new ArrayList<>();
for (String m : messages) {
+ timeout.sleep();
futures.add(client.send(m));
}
```
--
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]