Skip to content

Commit ee00fe1

Browse files
authored
test(exesh): stress testing (#144)
1 parent 33d71a0 commit ee00fe1

File tree

2 files changed

+511
-17
lines changed

2 files changed

+511
-17
lines changed

Exesh/Makefile

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
coordinator:
2-
rm -rf file_storage/coordinator && \
3-
docker-compose up -d && \
4-
export CONFIG_PATH=config/coordinator/dev.yml && \
5-
go run cmd/coordinator/main.go
6-
7-
worker-1:
8-
rm -rf file_storage/worker-1 && \
9-
export CONFIG_PATH=config/worker-1/dev.yml && \
10-
go run cmd/worker/main.go
11-
12-
worker-2:
13-
rm -rf file_storage/worker-2 && \
14-
export CONFIG_PATH=config/worker-2/dev.yml && \
15-
go run cmd/worker/main.go
1+
stress:
2+
python3 stress.py
163

174
clean:
18-
docker compose down --volumes
19-
rm -rf file_storage
5+
rm -rf config/test && \
6+
docker rm -f $$(docker ps -aq) && \
7+
docker volume rm test_postgres

0 commit comments

Comments
 (0)