You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by ni...@apache.org on 2022/09/20 08:12:39 UTC

[bookkeeper] 16/25: Backport BookieBackpressureForV2Test to branch-4.14

This is an automated email from the ASF dual-hosted git repository.

nicoloboschi pushed a commit to branch ds-4.14
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git

commit 5f7ad52f454d2cf3887da5b654b10085d948dbfe
Author: Lari Hotari <lh...@apache.org>
AuthorDate: Tue Aug 9 20:20:05 2022 +0300

    Backport BookieBackpressureForV2Test to branch-4.14
    
    - cherry-picking #3324 requires this backport
---
 .../java/org/apache/bookkeeper/proto/BookieBackpressureForV2Test.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/proto/BookieBackpressureForV2Test.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/proto/BookieBackpressureForV2Test.java
index 775844d05e..5dfd7d6052 100644
--- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/proto/BookieBackpressureForV2Test.java
+++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/proto/BookieBackpressureForV2Test.java
@@ -31,6 +31,6 @@ public class BookieBackpressureForV2Test extends BookieBackpressureTest {
         super.setUp();
         baseClientConf.setUseV2WireProtocol(true);
         // the backpressure will bloc the read response, disable it to let it use backpressure mechanism
-        confByIndex(0).setReadWorkerThreadsThrottlingEnabled(false);
+        bsConfs.get(0).setReadWorkerThreadsThrottlingEnabled(false);
     }
 }