@@ -41,23 +41,26 @@ echo Running agent on $IP:$PORT
41
41
echo Log level = $LOGLEVEL
42
42
echo Runner type = $RUNNER_TYPE
43
43
44
- ./build/src/parsec/runtime_locking_shard/runtime_locking_shardd --shard_count=1 \
45
- --shard0_count=1 --shard00_endpoint =$IP :5556 \
46
- --shard00_raft_endpoint= $IP :5557 -- node_id=0 --component_id=0 \
47
- --agent_count=1 --agent0_endpoint=$IP :6666 --ticket_machine_count=1 \
48
- --ticket_machine0_endpoint= $IP :7777 --loglevel= $LOGLEVEL \
49
- > logs/shardd.log &
44
+ ./build/src/parsec/runtime_locking_shard/runtime_locking_shardd \
45
+ --shard_count=1 -- shard0_count=1 --shard0_0_endpoint =$IP :5556 \
46
+ --node_id=0 --component_id=0 \
47
+ --agent_count=1 --agent0_endpoint=$IP :6666 \
48
+ --ticket_machine_count=1 --ticket_machine0_endpoint= $IP :7777 \
49
+ --loglevel= $LOGLEVEL > logs/shardd.log &
50
50
sleep 1
51
51
./scripts/wait-for-it.sh -s $IP :5556 -t 60 -- \
52
- ./build/src/parsec/ticket_machine/ticket_machined --shard_count=1 \
53
- --shard0_count=1 --shard00_endpoint=$IP :5556 --node_id=0 \
54
- --component_id=0 --agent_count=1 --agent0_endpoint=$IP :6666 \
52
+ ./build/src/parsec/ticket_machine/ticket_machined \
53
+ --shard_count=1 --shard0_count=1 --shard0_0_endpoint=$IP :5556 \
54
+ --node_id=0 --component_id=0 \
55
+ --agent_count=1 --agent0_endpoint=$IP :6666 \
55
56
--ticket_machine_count=1 --ticket_machine0_endpoint=$IP :7777 \
56
57
--loglevel=$LOGLEVEL > logs/ticket_machined.log &
57
58
sleep 1
58
- ./scripts/wait-for-it.sh -s $IP :7777 -t 60 -- ./scripts/wait-for-it.sh -s \
59
- $IP :5556 -t 60 -- ./build/src/parsec/agent/agentd --shard_count=1 \
60
- --shard0_count=1 --shard00_endpoint=$IP :5556 --node_id=0 --component_id=0 \
61
- --agent_count=1 --agent0_endpoint=$IP :$PORT --ticket_machine_count=1 \
62
- --ticket_machine0_endpoint=$IP :7777 --loglevel=$LOGLEVEL \
63
- --runner_type=$RUNNER_TYPE > logs/agentd.log &
59
+ ./scripts/wait-for-it.sh -s $IP :7777 -t 60 -- \
60
+ ./scripts/wait-for-it.sh -s $IP :5556 -t 60 -- \
61
+ ./build/src/parsec/agent/agentd \
62
+ --shard_count=1 --shard0_count=1 --shard0_0_endpoint=$IP :5556 \
63
+ --node_id=0 --component_id=0 \
64
+ --agent_count=1 --agent0_endpoint=$IP :$PORT \
65
+ --ticket_machine_count=1 --ticket_machine0_endpoint=$IP :7777 \
66
+ --loglevel=$LOGLEVEL --runner_type=$RUNNER_TYPE > logs/agentd.log &
0 commit comments