This is an automated email from the ASF dual-hosted git repository.
rpuch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new ba808e4cd4 IGNITE-23399 Decrease frequency of Metastorage idle
SafeTime propagation in tests (#4532)
ba808e4cd4 is described below
commit ba808e4cd463a2db5ee84b7a315b98cb5af02378
Author: Roman Puchkovskiy <[email protected]>
AuthorDate: Mon Oct 14 15:51:38 2024 +0400
IGNITE-23399 Decrease frequency of Metastorage idle SafeTime propagation in
tests (#4532)
---
.../apache/ignite/internal/testframework/TestIgnitionManager.java | 2 +-
.../org/apache/ignite/internal/sql/sqllogic/ItSqlLogicTest.java | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git
a/modules/runner/src/testFixtures/java/org/apache/ignite/internal/testframework/TestIgnitionManager.java
b/modules/runner/src/testFixtures/java/org/apache/ignite/internal/testframework/TestIgnitionManager.java
index 1fe2c066df..3df4f5463c 100644
---
a/modules/runner/src/testFixtures/java/org/apache/ignite/internal/testframework/TestIgnitionManager.java
+++
b/modules/runner/src/testFixtures/java/org/apache/ignite/internal/testframework/TestIgnitionManager.java
@@ -49,7 +49,7 @@ public class TestIgnitionManager {
/** Default DelayDuration in ms used for tests that is set on node init. */
public static final int DEFAULT_DELAY_DURATION_MS = 100;
- private static final int DEFAULT_METASTORAGE_IDLE_SYNC_TIME_INTERVAL_MS =
10;
+ private static final int DEFAULT_METASTORAGE_IDLE_SYNC_TIME_INTERVAL_MS =
50;
/** Default partition idle SafeTime interval in ms used for tests that is
set on node init. */
public static final int DEFAULT_PARTITION_IDLE_SYNC_TIME_INTERVAL_MS = 100;
diff --git
a/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/sqllogic/ItSqlLogicTest.java
b/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/sqllogic/ItSqlLogicTest.java
index 0053c4cddd..295ad51123 100644
---
a/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/sqllogic/ItSqlLogicTest.java
+++
b/modules/sql-engine/src/integrationTest/java/org/apache/ignite/internal/sql/sqllogic/ItSqlLogicTest.java
@@ -171,6 +171,13 @@ public class ItSqlLogicTest extends BaseIgniteAbstractTest
{
+ " rest.port: {}\n"
+ "}";
+ /**
+ * Interval between idle Safe Time synchronizations for the Metastorage.
+ *
+ * <p>This value is chosen empirically (it allows to run the suite as fast
as possible at the TC).
+ */
+ private static final int METASTORAGE_IDLE_SYNC_TIME_INTERVAL_MS = 10;
+
/** Embedded nodes. */
private static final List<IgniteServer> NODES = new ArrayList<>();
@@ -338,6 +345,7 @@ public class ItSqlLogicTest extends BaseIgniteAbstractTest {
.metaStorageNodes(nodes.get(0))
.clusterName("cluster")
.clusterConfiguration("ignite {"
+ + "metaStorage.idleSyncTimeInterval: " +
METASTORAGE_IDLE_SYNC_TIME_INTERVAL_MS + ",\n"
+ "gc.lowWatermark.dataAvailabilityTime: 1010,\n"
+ "gc.lowWatermark.updateInterval: 3000,\n"
+ "metrics.exporters.logPush.exporterName: logPush,\n"