File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change
1
+ These commands are to be run in ` ./interop/exec `
2
+
3
+ ## Redis
4
+
5
+ ``` bash
6
+ docker run -p 6379:6379 -it redis:latest
7
+ ```
8
+
9
+ ## Listener
10
+
11
+ ``` bash
12
+ transport=tcp ip=0.0.0.0 is_dialer=false redis_addr=localhost:6379 test_timeout_seconds=180 security=insecure muxer=mplex python3 native_ping.py
13
+ ```
14
+
15
+ ## Dialer
16
+
17
+ ``` bash
18
+ transport=tcp ip=0.0.0.0 is_dialer=true redis_addr=localhost:6379 port=8001 test_timeout_seconds=180 security=insecure muxer=mplex python3 native_ping.py
19
+ ```
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ async def run_test(
97
97
98
98
handshake_plus_ping = (time .perf_counter () - handshake_start ) * 1000.0
99
99
100
- logger .info (f"handshake time: { handshake_plus_ping } " )
100
+ logger .info (f"handshake time: { handshake_plus_ping :.2f } ms " )
101
101
return
102
102
103
103
await trio .sleep_forever ()
You can’t perform that action at this time.
0 commit comments