refactor: move stress-test tools location. (#3295)
* refactor: move stress-test tools location. * improve stress tools. * improve stress_test-v2pull/3313/head
parent
91db18168d
commit
dd981b976d
@ -0,0 +1,19 @@
|
|||||||
|
# Stress Test V2
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
You need set `TestTargetUserList` variables.
|
||||||
|
|
||||||
|
### Build
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
go build -o test/stress-test-v2/stress-test-v2 test/stress-test-v2/main.go
|
||||||
|
```
|
||||||
|
|
||||||
|
### Excute
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
tools/stress-test-v2/stress-test-v2 -c config/
|
||||||
|
```
|
@ -0,0 +1,19 @@
|
|||||||
|
# Stress Test
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
You need set `TestTargetUserList` and `DefaultGroupID` variables.
|
||||||
|
|
||||||
|
### Build
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
go build -o test/stress-test/stress-test test/stress-test/main.go
|
||||||
|
```
|
||||||
|
|
||||||
|
### Excute
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
tools/stress-test/stress-test -c config/
|
||||||
|
```
|
@ -1,25 +0,0 @@
|
|||||||
# Stress Test
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
You need set `TestTargetUserList` and `DefaultGroupID` variables.
|
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
```bash
|
|
||||||
go build -o _output/bin/tools/linux/amd64/stress-test tools/stress-test/main.go
|
|
||||||
|
|
||||||
# or
|
|
||||||
|
|
||||||
go build -o tools/stress-test/stress-test tools/stress-test/main.go
|
|
||||||
```
|
|
||||||
|
|
||||||
### Excute
|
|
||||||
|
|
||||||
```bash
|
|
||||||
_output/bin/tools/linux/amd64/stress-test -c config/
|
|
||||||
|
|
||||||
#or
|
|
||||||
|
|
||||||
tools/stress-test/stress-test -c config/
|
|
||||||
```
|
|
Loading…
Reference in new issue