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

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-native.git


The following commit(s) were added to refs/heads/master by this push:
     new b1d6538  NO-JIRA improving test logging
b1d6538 is described below

commit b1d65380bd355221f046ca33dc62e072964251da
Author: Clebert Suconic <[email protected]>
AuthorDate: Thu Jun 11 22:21:17 2020 -0400

    NO-JIRA improving test logging
---
 .../apache/activemq/artemis/nativo/jlibaio/test/LibaioStressTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/LibaioStressTest.java
 
b/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/LibaioStressTest.java
index 5930c64..4fc1d0c 100644
--- 
a/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/LibaioStressTest.java
+++ 
b/src/test/java/org/apache/activemq/artemis/nativo/jlibaio/test/LibaioStressTest.java
@@ -230,7 +230,7 @@ public class LibaioStressTest {
                 nextBreak = System.currentTimeMillis() + 5000;
             }
 
-            if (count % 1_000 == 0) {
+            if (count % (sleeps ? 1_000 : 100_000) == 0) {
                 System.out.println("Writen "  + count + " buffers at " + 
fileName);
             }
             MyClass myClass = callbackCache.get();

Reply via email to