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

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git


The following commit(s) were added to refs/heads/main by this push:
     new c9271c35 PROTON-2887 Shorten defaults for Wait to reduce test duration
c9271c35 is described below

commit c9271c353d30457df665363069a9e10f77636e48
Author: Timothy Bish <tabish...@gmail.com>
AuthorDate: Fri Apr 25 12:57:09 2025 -0400

    PROTON-2887 Shorten defaults for Wait to reduce test duration
    
    The defaults a to conservative and can be tightened to reduce overall
    test duration.
---
 .../src/test/java/org/apache/qpid/protonj2/client/test/Wait.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/test/Wait.java 
b/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/test/Wait.java
index a5c38201..0d82a500 100644
--- 
a/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/test/Wait.java
+++ 
b/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/test/Wait.java
@@ -22,8 +22,8 @@ import java.util.concurrent.TimeUnit;
 
 public class Wait {
 
-    public static final long MAX_WAIT_MILLIS = 30 * 1000;
-    public static final long SLEEP_MILLIS = 200;
+    public static final long MAX_WAIT_MILLIS = 10 * 1000;
+    public static final long SLEEP_MILLIS = 50;
     public static final String DEFAULT_FAILURE_MESSAGE = "Expected condition 
was not met";
 
     @FunctionalInterface


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to