mirror of
https://github.com/status-im/status-cli-tests.git
synced 2026-08-31 05:11:14 +00:00
test slow connection
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ class StepsCommon:
|
||||
# sudo tc qdisc add dev eth0 root netem delay 1s 100ms distribution normal
|
||||
# 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 10kbit burst 3kbit", shell=True)
|
||||
subprocess.Popen("sudo tc qdisc add dev eth0 root tbf rate 1kbit burst 1kbit", shell=True)
|
||||
|
||||
yield
|
||||
subprocess.Popen("sudo tc qdisc del dev eth0 root netem", shell=True)
|
||||
|
||||
Reference in New Issue
Block a user