File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
engine/src/test/java/org/apache/hop/workflow Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 2323import java .util .concurrent .CountDownLatch ;
2424import org .apache .hop .core .HopEnvironment ;
2525import org .apache .hop .core .exception .HopException ;
26+ import org .apache .hop .core .logging .HopLogStore ;
2627import org .apache .hop .workflow .engine .IWorkflowEngine ;
2728import org .apache .hop .workflow .engines .local .LocalWorkflowEngine ;
2829import org .junit .jupiter .api .BeforeAll ;
30+ import org .junit .jupiter .api .BeforeEach ;
2931import org .junit .jupiter .api .Test ;
3032
3133class WorkflowTest {
@@ -90,6 +92,13 @@ static void beforeClass() throws HopException {
9092 HopEnvironment .init ();
9193 }
9294
95+ @ BeforeEach
96+ void before () {
97+ if (!HopLogStore .isInitialized ()) {
98+ HopLogStore .init ();
99+ }
100+ }
101+
93102 /**
94103 * When a workflow is scheduled twice, it gets the same log channel Id and both logs get merged
95104 */
You can’t perform that action at this time.
0 commit comments