mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-25 02:14:38 -05:00
fix(tests): ensure Executor is running before proceeding
This commit is contained in:
@@ -49,7 +49,9 @@ public class TestRunner implements Runnable, AutoCloseable {
|
||||
running.set(true);
|
||||
|
||||
poolExecutor = executorsUtils.cachedThreadPool("standalone-runner");
|
||||
poolExecutor.execute(applicationContext.getBean(ExecutorInterface.class));
|
||||
ExecutorInterface executor = applicationContext.getBean(ExecutorInterface.class);
|
||||
servers.add(executor);
|
||||
poolExecutor.execute(executor);
|
||||
|
||||
if (workerEnabled) {
|
||||
// FIXME: For backward-compatibility with Kestra 0.15.x and earliest we still used UUID for Worker ID instead of IdUtils
|
||||
|
||||
Reference in New Issue
Block a user