http-client-branch: BufferingSubscriberTest needs to be lock-step with the Publisher http-client-branch
authorchegar
Wed, 06 Dec 2017 18:40:15 +0000
branchhttp-client-branch
changeset 55971 3ae165556d48
parent 55970 261d4d2f77e2
child 55972 3fe2ae6d97a4
http-client-branch: BufferingSubscriberTest needs to be lock-step with the Publisher
test/jdk/java/net/httpclient/BufferingSubscriberTest.java
--- a/test/jdk/java/net/httpclient/BufferingSubscriberTest.java	Wed Dec 06 16:08:15 2017 +0000
+++ b/test/jdk/java/net/httpclient/BufferingSubscriberTest.java	Wed Dec 06 18:40:15 2017 +0000
@@ -168,7 +168,7 @@
                 try {
                     SubmissionPublisher<List<ByteBuffer>> publisher =
                             new SubmissionPublisher<>(executor,
-                                                      32,
+                                                      1, // lock-step with the publisher, for now
                                                       onNextThrowHandler);
                     CompletableFuture<?> cf = sink(publisher,
                             delayMillis,