Skip to content

Commit

Permalink
IGNITE-23016 Fix implicit use of the direct-io on a dev branch in duc…
Browse files Browse the repository at this point in the history
…ktests (#11554)
  • Loading branch information
okreda1 authored Oct 15, 2024
1 parent 0e76399 commit 3268e70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,13 +249,18 @@ def envs(self):
"""
: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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ def envs(self):
"""
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

0 comments on commit 3268e70

Please sign in to comment.