[ server ] [ scheduler ]- script scheduler - 4
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user