初步完成 liteflow-solon-plugin 适配

This commit is contained in:
noear
2022-12-19 13:02:39 +08:00
parent 42d164b3c4
commit 3cc71c3014
2 changed files with 0 additions and 3 deletions

View File

@@ -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();

View File

@@ -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);