ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] vmalin commented on a change in pull request #6646: IGNITE-11874 Fix mismatch between idle_verify results with and without -dump option.
Date Mon, 01 Jul 2019 12:11:55 GMT
vmalin commented on a change in pull request #6646: IGNITE-11874 Fix mismatch between idle_verify
results with and without -dump option.
URL: https://github.com/apache/ignite/pull/6646#discussion_r299012721
 
 

 ##########
 File path: modules/core/src/test/java/org/apache/ignite/util/GridCommandHandlerAbstractTest.java
 ##########
 @@ -200,4 +209,48 @@ protected void addExtraArguments(List<String> args) {
     protected void injectTestSystemOut() {
         System.setOut(new PrintStream(testOut));
     }
+
+    /**
+     * Checks if all non-system txs and non-system mvcc futures are finished.
+     */
+    protected void checkUserFutures() {
+        for (Ignite ignite : G.allGrids()) {
+            IgniteEx ig = (IgniteEx)ignite;
+
+            final Collection<GridCacheFuture<?>> futs = ig.context().cache().context().mvcc().activeFutures();
 
 Review comment:
   Please add more descriptive variable name. mvccFuts of something like this

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message