mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
初步完成 liteflow-solon-plugin 适配
This commit is contained in:
@@ -6,13 +6,11 @@ import com.yomahub.liteflow.property.LiteflowConfigGetter;
|
||||
import com.yomahub.liteflow.spi.holder.SpiFactoryCleaner;
|
||||
import com.yomahub.liteflow.thread.ExecutorHelper;
|
||||
import org.junit.AfterClass;
|
||||
import org.noear.solon.Solon;
|
||||
|
||||
public class BaseTest {
|
||||
|
||||
@AfterClass
|
||||
public static void cleanScanCache(){
|
||||
//Solon.context().clear();
|
||||
FlowBus.cleanCache();
|
||||
ExecutorHelper.loadInstance().clearExecutorServiceMap();
|
||||
SpiFactoryCleaner.clean();
|
||||
|
||||
@@ -21,7 +21,6 @@ import org.slf4j.LoggerFactory;
|
||||
*/
|
||||
@RunWith(SolonJUnit4ClassRunner.class)
|
||||
@TestPropertySource(value = "classpath:/component/application.properties")
|
||||
@Import(scanPackages = {"com.yomahub.liteflow.test.component.cmp1","com.yomahub.liteflow.test.component.cmp2"})
|
||||
public class FlowExecutorELSpringbootTest extends BaseTest {
|
||||
private static final Logger LOG = LoggerFactory.getLogger(FlowExecutorELSpringbootTest.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user