geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject [geode] branch develop updated: GEODE-577: Reducing the timeout (#2023)
Date Tue, 05 Jun 2018 22:52:18 GMT
This is an automated email from the ASF dual-hosted git repository.

nnag pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2d0dce3  GEODE-577: Reducing the timeout (#2023)
2d0dce3 is described below

commit 2d0dce31e3ffa4523e06693752591ff52837bb25
Author: Nabarun Nag <nabarunnag@users.noreply.github.com>
AuthorDate: Tue Jun 5 15:51:31 2018 -0700

    GEODE-577: Reducing the timeout (#2023)
    
    * Reducing the timeout as running the tests on faster machines resulted in the query being
completed before the timeout
---
 .../org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java
b/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java
index 7167daa..ae7c196 100644
--- a/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java
+++ b/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java
@@ -276,7 +276,7 @@ public class QueryMonitorDUnitTest implements Serializable {
 
     // Start server
     int serverPort = server.invoke("Create BridgeServer",
-        () -> configServer(20, "testQueryMonitorClientServer")); // All the queries taking
more than
+        () -> configServer(10, "testQueryMonitorClientServer")); // All the queries taking
more than
                                                                  // 20ms should be canceled
by Query
                                                                  // monitor.
     server.invoke("createExampleRegion", () -> createExampleRegion());
@@ -295,9 +295,9 @@ public class QueryMonitorDUnitTest implements Serializable {
 
     // Execute client queries
 
-    client1.invoke("execute Queries", () -> executeQueriesFromClient(20));
-    client2.invoke("execute Queries", () -> executeQueriesFromClient(20));
-    client3.invoke("execute Queries", () -> executeQueriesFromClient(20));
+    client1.invoke("execute Queries", () -> executeQueriesFromClient(10));
+    client2.invoke("execute Queries", () -> executeQueriesFromClient(10));
+    client3.invoke("execute Queries", () -> executeQueriesFromClient(10));
 
     stopServer(server);
   }

-- 
To stop receiving notification emails like this one, please contact
nnag@apache.org.

Mime
View raw message