Search in sources :

Example 1 with TestFlowConfig

use of com.sequenceiq.flow.core.config.TestFlowConfig in project cloudbreak by hortonworks.

the class FlowRetryServiceTest method setUp.

@Before
public void setUp() throws Exception {
    ReflectionTestUtils.setField(underTest, "retryableEvents", List.of(TestFlowConfig.TestFlowEvent.TEST_FAIL_HANDLED_EVENT.event()));
    flowConfig = new TestFlowConfig();
    ReflectionTestUtils.setField(underTest, "flowConfigs", List.of(flowConfig));
}
Also used : TestFlowConfig(com.sequenceiq.flow.core.config.TestFlowConfig) Before(org.junit.Before)

Aggregations

TestFlowConfig (com.sequenceiq.flow.core.config.TestFlowConfig)1 Before (org.junit.Before)1