Skip to content

Commit 15990e4

Browse files
committed
Update local with Master - Pumba fix
2 parents 0156be8 + e8eb9e1 commit 15990e4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

7_run_pumba.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
echo "Running Pumba Network Emulation ..."
44

5+
# shellcheck disable=SC1091
56
source ./set_network.sh
67

7-
docker-compose -f docker-compose-pumba.yml up
8+
exec docker-compose -f docker-compose-pumba.yml up

docker-compose-pumba.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2'
22
services:
33

44
pumba:
5-
image: gaiaadm/pumba:master
5+
image: gaiaadm/pumba:111-master
66
environment:
77
http_proxy: "$tb_proxy"
88
https_proxy: "$tb_proxy"
@@ -11,7 +11,7 @@ services:
1111
- /var/run/docker.sock:/var/run/docker.sock
1212
networks:
1313
- voteapp
14-
command: pumba --debug --interval 40s --random netem --duration 35s delay --amount 3000 re2:(.+)result
14+
command: pumba --debug netem --duration 5m delay --time 3000 "re2:(.+)result-app"
1515

1616
networks:
1717
voteapp:

0 commit comments

Comments
 (0)