feature #I6BDLN 是否能绝对路径的目录位置及其所有子目录下规则配置文件的侦听

This commit is contained in:
everywhere.z
2023-03-16 18:34:44 +08:00
parent e7b4c41ce9
commit 87295279c9
10 changed files with 88 additions and 19 deletions

View File

@@ -28,6 +28,7 @@ public class MonitorFileELSpringbootTest extends BaseTest {
String content = FileUtil.readUtf8String(absolutePath);
String newContent = content.replace("THEN(a, b, c);", "THEN(a, c, b);");
FileUtil.writeString(newContent,new File(absolutePath), CharsetUtil.CHARSET_UTF_8);
Thread.sleep(2500);
LiteflowResponse response = flowExecutor.execute2Resp("chain1", "arg");
Assert.assertEquals("a==>c==>b", response.getExecuteStepStr());
}