ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [22/50] [abbrv] incubator-ignite git commit: IGNITE-59 Fix broken test.
Date Fri, 23 Jan 2015 06:35:58 GMT
IGNITE-59 Fix broken test.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/74efceca
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/74efceca
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/74efceca

Branch: refs/heads/ignite-32
Commit: 74efcecaf0ab3aa9f9398c324bda9648c7212928
Parents: 3c948be
Author: Sergey Evdokimov <sergey.evdokimov@jetbrains.com>
Authored: Thu Jan 22 12:03:33 2015 +0300
Committer: Sergey Evdokimov <sergey.evdokimov@jetbrains.com>
Committed: Thu Jan 22 12:03:33 2015 +0300

----------------------------------------------------------------------
 .../processors/cache/GridCacheAbstractFullApiSelfTest.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/74efceca/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
b/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
index a9e8395..966b6aa 100644
--- a/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
+++ b/modules/core/src/test/java/org/gridgain/grid/kernal/processors/cache/GridCacheAbstractFullApiSelfTest.java
@@ -3480,12 +3480,12 @@ public abstract class GridCacheAbstractFullApiSelfTest extends GridCacheAbstract
 
             comp.call(new Callable<Boolean>() {
                 @Override public Boolean call() throws Exception {
-                    assert !lock.tryLock(1000, MILLISECONDS);
+                    assert !lock.tryLock();
 
                     latch.countDown();
 
                     try {
-                        assert lock.tryLock();
+                        assert lock.tryLock(2000, MILLISECONDS);
                     }
                     finally {
                         lock.unlock();


Mime
View raw message