From 02de88e7aa43e0a65379379a5bd3625dd3ba08bc Mon Sep 17 00:00:00 2001 From: Maksim Davydov Date: Tue, 4 Aug 2026 15:38:10 +0300 Subject: [PATCH] IGNITE-28952 [ducktests] Make the cache level topology validator optional in MDC tests --- modules/ducktests/README.md | 1 + .../tests/mdc/MdcCacheAwareApplication.java | 43 +++++++++++++------ .../ignitetest/services/mdc/mdc_cluster.py | 30 ++++++++++--- 3 files changed, 57 insertions(+), 17 deletions(-) diff --git a/modules/ducktests/README.md b/modules/ducktests/README.md index 3d56ca33f292d..53a5d062badbe 100644 --- a/modules/ducktests/README.md +++ b/modules/ducktests/README.md @@ -198,6 +198,7 @@ You can modify test environments at execution time using global flags injected t | **AppSpec** | Specifies the class to use for application specifications in Ignite applications. Controls how Ignite applications are configured and started. | ```{"AppSpec": "myapp.services.MyAppSpec"}``` | | **IgniteTestContext** | Class name for the test context implementation. Allows customization of test context behavior. | ```{"IgniteTestContext": "myapp.context.CustomTestContext"}``` | | **project** | Project/fork name for version handling (e.g., "ignite", "fork"). Used to distinguish between different Ignite variants. Default is "ignite". | ```{"project": "fork"}``` | +| **mdc_cache_topology_validator** | Whether the MDC tests create their caches with the cache level `MdcTopologyValidator`. Default is True. | ```{"mdc_cache_topology_validator": false}``` | #### Paths & Directories diff --git a/modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/tests/mdc/MdcCacheAwareApplication.java b/modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/tests/mdc/MdcCacheAwareApplication.java index 447486faa9b75..5a3a3fc885543 100644 --- a/modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/tests/mdc/MdcCacheAwareApplication.java +++ b/modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/tests/mdc/MdcCacheAwareApplication.java @@ -50,8 +50,10 @@ *