Commit fada2733 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][docker_execution] Add executor debug setup through EV

The DOCKER_TEST_DEBUG environment variable can be used to
enable executor debug mode.
parent 9a0a5da4
Pipeline #24482 failed with stages
in 24 minutes and 8 seconds
......@@ -64,8 +64,12 @@ class TestDockerExecution(BaseExecutionMixIn):
def create_executor(self, prefix, configuration, tmp_prefix, dataformat_cache,
database_cache, algorithm_cache):
return DockerExecutor(self.host, prefix, configuration, tmp_prefix,
dataformat_cache, database_cache, algorithm_cache)
executor = DockerExecutor(self.host, prefix, configuration, tmp_prefix,
dataformat_cache, database_cache, algorithm_cache)
executor.debug = os.environ.get("DOCKER_TEST_DEBUG", False) == "True"
return executor
@slow
@skipif(not DOCKER_NETWORK_TEST_ENABLED, "Network test disabled")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment