mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
去除循环依赖检测
This commit is contained in:
@@ -19,7 +19,7 @@ import org.junit.jupiter.api.Test;
|
|||||||
public class FlowInDifferentConfigTest extends BaseTest {
|
public class FlowInDifferentConfigTest extends BaseTest {
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import org.junit.jupiter.api.Test;
|
|||||||
public class FlowJsonTest extends BaseTest {
|
public class FlowJsonTest extends BaseTest {
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import org.junit.jupiter.api.Test;
|
|||||||
public class FlowXMLTest extends BaseTest {
|
public class FlowXMLTest extends BaseTest {
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import org.junit.jupiter.api.Test;
|
|||||||
public class FlowYMLTest extends BaseTest {
|
public class FlowYMLTest extends BaseTest {
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public class FlowInDifferentConfigELSpringbootTest extends BaseTest {
|
|||||||
private FlowExecutor flowExecutor;
|
private FlowExecutor flowExecutor;
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public class FlowJsonELSpringBootTest extends BaseTest {
|
|||||||
private FlowExecutor flowExecutor;
|
private FlowExecutor flowExecutor;
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public class FlowXMLELSpringBootTest extends BaseTest {
|
|||||||
private FlowExecutor flowExecutor;
|
private FlowExecutor flowExecutor;
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ public class FlowYmlELSpringBootTest extends BaseTest {
|
|||||||
private FlowExecutor flowExecutor;
|
private FlowExecutor flowExecutor;
|
||||||
|
|
||||||
// 测试 chain 死循环
|
// 测试 chain 死循环
|
||||||
@Test
|
//@Test
|
||||||
public void testChainEndlessLoop() {
|
public void testChainEndlessLoop() {
|
||||||
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
Assertions.assertThrows(CyclicDependencyException.class, () -> {
|
||||||
LiteflowConfig config = LiteflowConfigGetter.get();
|
LiteflowConfig config = LiteflowConfigGetter.get();
|
||||||
|
|||||||
Reference in New Issue
Block a user