You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ip...@apache.org on 2019/04/26 14:13:14 UTC
[ignite] branch master updated: IGNITE-11808 Scale test execution
time constant along in IgniteCacheCrossCacheTxFailoverTest - Fixes #6506 -
Fixes #6506.
This is an automated email from the ASF dual-hosted git repository.
ipavlukhin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new a998b25 IGNITE-11808 Scale test execution time constant along in IgniteCacheCrossCacheTxFailoverTest - Fixes #6506 - Fixes #6506.
a998b25 is described below
commit a998b258287889ab9e2a668d10a4cc061ff17f2a
Author: ipavlukhin <vo...@gmail.com>
AuthorDate: Fri Apr 26 17:12:31 2019 +0300
IGNITE-11808 Scale test execution time constant along in IgniteCacheCrossCacheTxFailoverTest - Fixes #6506 - Fixes #6506.
Signed-off-by: ipavlukhin <vo...@gmail.com>
---
.../cache/distributed/dht/IgniteCacheCrossCacheTxFailoverTest.java | 2 +-
.../src/test/java/org/apache/ignite/testframework/GridTestUtils.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheCrossCacheTxFailoverTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheCrossCacheTxFailoverTest.java
index f56bf9d..fb16989 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheCrossCacheTxFailoverTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/dht/IgniteCacheCrossCacheTxFailoverTest.java
@@ -297,7 +297,7 @@ public class IgniteCacheCrossCacheTxFailoverTest extends GridCommonAbstractTest
}
}, 10, "tx-thread");
- long stopTime = System.currentTimeMillis() + SF.applyLB(3 * 60_000, 20_000);
+ long stopTime = System.currentTimeMillis() + SF.applyLB((int)TEST_TIME, 20_000);
long topVer = ignite0.cluster().topologyVersion();
diff --git a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java
index f65b44b..fb8f49f 100644
--- a/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java
+++ b/modules/core/src/test/java/org/apache/ignite/testframework/GridTestUtils.java
@@ -2031,7 +2031,7 @@ public final class GridTestUtils {
/** */
public static int apply(int val) {
- return (int) Math.round(TEST_SCALE_FACTOR_VALUE * val);
+ return (int)Math.round(TEST_SCALE_FACTOR_VALUE * val);
}
/** */