We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run TestPing on Linux
$ go test . -run '^TestPing$' -v === RUN TestPing --- PASS: TestPing (0.00s) PASS ok github.com/hashicorp/yamux 0.002s
run TestPing on Windows
PS C:\Users\jinmiaoluo\repo\yamux> go test . -run '^TestPing$' -v === RUN TestPing session_test.go:98: bad: 0s --- FAIL: TestPing (0.00s) FAIL FAIL github.com/hashicorp/yamux 0.178s FAIL PS C:\Users\jinmiaoluo\repo\yamux>
debug on Linux
$ dlv test . Type 'help' for list of commands. (dlv) b ./session_test.go:94 Breakpoint 1 set at 0x56eb44 for github.com/hashicorp/yamux.TestPing() ./session_test.go:94 (dlv) c > github.com/hashicorp/yamux.TestPing() ./session_test.go:94 (hits goroutine(8):1 total:1) (PC: 0x56eb44) 89: client, server := testClientServer() 90: defer client.Close() 91: defer server.Close() 92: 93: rtt, err := client.Ping() => 94: if err != nil { 95: t.Fatalf("err: %v", err) 96: } 97: if rtt == 0 { 98: t.Fatalf("bad: %v", rtt) 99: } (dlv) p rtt 196033 (dlv)
debug on Windows
(dlv) b c:/users/jinmiaoluo/repo/yamux/session_test.go:94 Breakpoint 1 set at 0x5b8544 for github.com/hashicorp/yamux.TestPing() c:/users/jinmiaoluo/repo/yamux/session_test.go:94 (dlv) c > github.com/hashicorp/yamux.TestPing() c:/users/jinmiaoluo/repo/yamux/session_test.go:94 (hits goroutine(8):1 total:1) (PC: 0x5b8544) 89: client, server := testClientServer() 90: defer client.Close() 91: defer server.Close() 92: 93: rtt, err := client.Ping() => 94: if err != nil { 95: t.Fatalf("err: %v", err) 96: } 97: if rtt == 0 { 98: t.Fatalf("bad: %v", rtt) 99: } (dlv) p rtt 0 (dlv)
The text was updated successfully, but these errors were encountered:
Same issue: #41
Sorry, something went wrong.
No branches or pull requests
run TestPing on Linux
run TestPing on Windows
debug on Linux
debug on Windows
The text was updated successfully, but these errors were encountered: