This is an automated email from the ASF dual-hosted git repository.

timoninmaxim 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 3268e703688 IGNITE-23016 Fix implicit use of the direct-io on a dev 
branch in ducktests (#11554)
3268e703688 is described below

commit 3268e7036883f70559a99789a045acbe71128de8
Author: okreda1 <[email protected]>
AuthorDate: Tue Oct 15 23:39:17 2024 +0300

    IGNITE-23016 Fix implicit use of the direct-io on a dev branch in ducktests 
(#11554)
---
 modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py   | 7 ++++++-
 modules/ducktests/tests/ignitetest/tests/thin_client_query_test.py | 5 ++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py 
b/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
index 70bacf587e1..223757b081d 100644
--- a/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
+++ b/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
@@ -249,13 +249,18 @@ class IgniteSpec(metaclass=ABCMeta):
         """
         :return: environment set.
         """
-        return {
+        environment_dict = {
             'EXCLUDE_TEST_CLASSES': 'true',
             'IGNITE_LOG_DIR': self.service.log_dir,
             'USER_LIBS': ":".join(self.libs()),
             "MAIN_CLASS": self.service.main_java_class
         }
 
+        if "direct-io" not in self.modules():
+            environment_dict['EXCLUDE_MODULES'] = "direct-io"
+
+        return environment_dict
+
     def config_file_path(self):
         """
         :return: path to project configuration file
diff --git a/modules/ducktests/tests/ignitetest/tests/thin_client_query_test.py 
b/modules/ducktests/tests/ignitetest/tests/thin_client_query_test.py
index e008878159a..f75c031c788 100644
--- a/modules/ducktests/tests/ignitetest/tests/thin_client_query_test.py
+++ b/modules/ducktests/tests/ignitetest/tests/thin_client_query_test.py
@@ -90,6 +90,9 @@ class IgniteNodeSpecExcludeDucktests(IgniteNodeSpec):
         """
         envs = super().envs()
 
-        envs["EXCLUDE_MODULES"] = "ducktests"
+        if envs.get("EXCLUDE_MODULES") is not None:
+            envs["EXCLUDE_MODULES"] = envs["EXCLUDE_MODULES"] + ",ducktests"
+        else:
+            envs["EXCLUDE_MODULES"] = "ducktests"
 
         return envs

Reply via email to