[ server ] [ scheduler ]- script scheduler - 4

This commit is contained in:
zeaslity
2023-01-17 17:34:51 +08:00
parent e080d3f858
commit 4acba4ce8e
6 changed files with 65 additions and 13 deletions

View File

@@ -8,6 +8,8 @@ import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import static io.wdd.rpc.scheduler.service.status.MonitorAllAgentStatus.ALL_AGENT_TOPIC_NAME_SET;
@SpringBootTest
class ServerApplicationTests {
@@ -20,8 +22,8 @@ class ServerApplicationTests {
ArrayList<String> command1 = new ArrayList<>(
List.of(
"echo",
"yes"
"echo",
"yes"
)
);
@@ -35,7 +37,7 @@ class ServerApplicationTests {
ArrayList<String> command3 = new ArrayList<>(
List.of(
"echo",
"no"
"\"no\""
)
);
@@ -55,6 +57,8 @@ class ServerApplicationTests {
completeScript.add(command4);
ALL_AGENT_TOPIC_NAME_SET.add("Chengdu-amd64-98-98066f");
ArrayList<String> targetMachineList = new ArrayList<>(
List.of(
"Chengdu-amd64-98-98066f"