Skip to content

Commit f2fd436

Browse files
feat(agentloadtesting): restructred loadtesting under perf command with backward compatibility (#552)
* feat(agentloadtesting): restructred loadtesting under perf command with backward compatibility * fixed readme formatting to default * updated readme * restructred load test commands under perf command
1 parent 1022a79 commit f2fd436

File tree

5 files changed

+259
-230
lines changed

5 files changed

+259
-230
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ The agent load testing utility allows you to dispatch a running agent to a numbe
370370
To start an agent load test:
371371

372372
```shell
373-
lk agent-load-test \
373+
lk perf agent-load-test \
374374
--rooms 5 \
375375
--agent-name test-agent \
376376
--echo-speech-delay 10s \

cmd/lk/agent_loadtest.go

Lines changed: 0 additions & 87 deletions
This file was deleted.

cmd/lk/loadtest.go

Lines changed: 0 additions & 140 deletions
This file was deleted.

cmd/lk/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ func main() {
6969
app.Commands = append(app.Commands, IngressCommands...)
7070
app.Commands = append(app.Commands, SIPCommands...)
7171
app.Commands = append(app.Commands, ReplayCommands...)
72-
app.Commands = append(app.Commands, LoadTestCommands...)
73-
app.Commands = append(app.Commands, AgentLoadTestCommands...)
72+
app.Commands = append(app.Commands, PerfCommands...)
7473

7574
// Register cleanup hook for SIGINT, SIGTERM, SIGQUIT
7675
ctx, stop := signal.NotifyContext(

0 commit comments

Comments
 (0)