[tor-commits] [sbws/master] Use obs bandwidth in example test bw line

juga at torproject.org juga at torproject.org
Tue Sep 18 09:26:11 UTC 2018


commit e6965056815a7c6dfa9af66b7480fe9229917d18
Author: juga0 <juga at riseup.net>
Date:   Fri Aug 31 11:23:06 2018 +0000

    Use obs bandwidth in example test bw line
---
 tests/unit/lib/test_v3bwfile.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/unit/lib/test_v3bwfile.py b/tests/unit/lib/test_v3bwfile.py
index dafe015..1809e44 100644
--- a/tests/unit/lib/test_v3bwfile.py
+++ b/tests/unit/lib/test_v3bwfile.py
@@ -37,7 +37,8 @@ header_extra_ls = [timestamp_l, version_l,
 header_extra_str = LINE_SEP.join(header_extra_ls) + LINE_SEP
 
 bwl_str = "bw=56 bw_bs_mean=61423 bw_bs_median=55656 "\
-    "desc_avg_bw_bs=1000000000 error_circ=0 error_misc=0 error_stream=1 " \
+    "desc_avg_bw_bs=1000000000 desc_obs_bw_bs_last=524288 "\
+    "desc_obs_bw_bs_mean=524288 error_circ=0 error_misc=0 error_stream=1 " \
     "master_key_ed25519=g+Shk00y9Md0hg1S6ptnuc/wWKbADBgdjT0Kg+TSF3s " \
     "nick=A " \
     "node_id=$AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA rtt=456 success=1 " \





More information about the tor-commits mailing list