geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [18/52] [abbrv] incubator-geode git commit: Deprecating waitForCriterion in DistributedTestCase
Date Fri, 29 Jan 2016 01:16:35 GMT
Deprecating waitForCriterion in DistributedTestCase

Now that Awaitility is part of the test dependencies, we should just use
that.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/3bdaff69
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/3bdaff69
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/3bdaff69

Branch: refs/heads/feature/GEODE-831
Commit: 3bdaff694e2b136638827d8c02891e0caa1cce03
Parents: 20d47eb
Author: Dan Smith <upthewaterspout@apache.org>
Authored: Fri Jan 22 11:11:21 2016 -0800
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Mon Jan 25 11:37:47 2016 -0800

----------------------------------------------------------------------
 .../java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/3bdaff69/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
index 4f59210..80f5a47 100755
--- a/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
+++ b/gemfire-core/src/test/java/com/gemstone/gemfire/test/dunit/DistributedTestCase.java
@@ -79,6 +79,7 @@ import com.gemstone.gemfire.internal.logging.ManagerLogWriter;
 import com.gemstone.gemfire.internal.logging.log4j.LogWriterLogger;
 import com.gemstone.gemfire.internal.util.Callable;
 import com.gemstone.gemfire.management.internal.cli.LogWrapper;
+import com.jayway.awaitility.Awaitility;
 import com.gemstone.gemfire.test.dunit.standalone.DUnitLauncher;
 import com.gemstone.gemfire.test.junit.categories.DistributedTest;
 
@@ -1097,7 +1098,9 @@ public abstract class DistributedTestCase extends TestCase implements
java.io.Se
    * @param ms total time to wait, in milliseconds
    * @param interval pause interval between waits
    * @param throwOnTimeout if false, don't generate an error
+   * @deprecated Use {@link Awaitility} instead.
    */
+  @Deprecated
   static public void waitForCriterion(WaitCriterion ev, long ms, 
       long interval, boolean throwOnTimeout) {
     long waitThisTime;


Mime
View raw message