This is an automated email from the ASF dual-hosted git repository.
ivandasch 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 e2604672211 IGNITE-19175 [ducktests] Add logging support to NONE
service type (#10620)
e2604672211 is described below
commit e26046722111d9d856d7e1b333a591d857e3e392
Author: Ivan Daschinskiy <[email protected]>
AuthorDate: Fri Mar 31 12:29:06 2023 +0300
IGNITE-19175 [ducktests] Add logging support to NONE service type (#10620)
---
modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
b/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
index 78ed9db9535..4356304d775 100644
--- a/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
+++ b/modules/ducktests/tests/ignitetest/services/utils/ignite_spec.py
@@ -131,16 +131,14 @@ class IgniteSpec(metaclass=ABCMeta):
"""
:return: config that service will use to start on a node
"""
- if self.service.config.service_type == IgniteServiceType.NONE:
- return []
-
config_templates = [(IgnitePathAware.IGNITE_LOG_CONFIG_NAME,
IgniteLoggerConfigTemplate())]
if self.service.config.service_type == IgniteServiceType.NODE:
config_templates.append((IgnitePathAware.IGNITE_CONFIG_NAME,
IgniteClientConfigTemplate() if
self.service.config.client_mode
else IgniteServerConfigTemplate()))
- else:
+
+ if self.service.config.service_type == IgniteServiceType.THIN_CLIENT:
config_templates.append((IgnitePathAware.IGNITE_THIN_CLIENT_CONFIG_NAME,
IgniteThinClientConfigTemplate()))
return config_templates