ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/2] ignite git commit: ignite-1.5 Fixed test.
Date Thu, 10 Dec 2015 13:45:44 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-1.5 2e68a8786 -> 388c17365


ignite-1.5 Fixed test.


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

Branch: refs/heads/ignite-1.5
Commit: 46872d619b14366c40e1905579e7bcd05f7a4321
Parents: d466c7a
Author: sboikov <sboikov@gridgain.com>
Authored: Thu Dec 10 16:45:04 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Thu Dec 10 16:45:04 2015 +0300

----------------------------------------------------------------------
 .../internal/GridEventStorageCheckAllEventsSelfTest.java       | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/46872d61/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageCheckAllEventsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageCheckAllEventsSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageCheckAllEventsSelfTest.java
index 00623fc..ad15894 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageCheckAllEventsSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/GridEventStorageCheckAllEventsSelfTest.java
@@ -167,6 +167,8 @@ public class GridEventStorageCheckAllEventsSelfTest extends GridCommonAbstractTe
      * @throws Exception If test failed.
      */
     public void testSuccessTask() throws Exception {
+        generateEvents(null, new GridAllEventsSuccessTestJob()).get();
+
         long tstamp = startTimestamp();
 
         generateEvents(null, new GridAllEventsSuccessTestJob()).get();
@@ -288,7 +290,7 @@ public class GridEventStorageCheckAllEventsSelfTest extends GridCommonAbstractTe
 
         assert U.currentTimeMillis() > tstamp;
 
-        return tstamp;
+        return U.currentTimeMillis();
     }
 
     /**
@@ -475,4 +477,4 @@ public class GridEventStorageCheckAllEventsSelfTest extends GridCommonAbstractTe
             return (Serializable)results;
         }
     }
-}
\ No newline at end of file
+}


Mime
View raw message