Skip to content

Commit

Permalink
test slow connection
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarbu15 committed Jun 4, 2024
1 parent e2f5008 commit a6bc939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steps/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def start_2_nodes(self, common_setup, request):
# 1 sec disconnects
# subprocess.Popen("sudo tc qdisc add dev eth0 root tbf rate 50kbit burst 16kbit latency 200ms", shell=True)
# subprocess.Popen("sudo tc qdisc add dev eth0 root tbf rate 0kbit burst 0kbit", shell=True)
subprocess.Popen("sudo tc qdisc add dev eth0 root tbf rate 1bit burst 10bit", shell=True)
subprocess.Popen("sudo tc qdisc add dev eth0 root tbf rate 1bit burst 1bit", shell=True)

yield
subprocess.Popen("sudo tc qdisc del dev eth0 root netem", shell=True)
Expand Down

0 comments on commit a6bc939

Please sign in to comment.