mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-30 19:06:21 +00:00
rpc/lib: test tcp and unix
This commit is contained in:
@@ -245,11 +245,11 @@ func TestServersAndClientsBasic(t *testing.T) {
|
||||
fmt.Printf("=== testing server on %s using %v client", addr, cl1)
|
||||
testWithHTTPClient(t, cl1)
|
||||
|
||||
cl2 := client.NewJSONRPCClient(tcpAddr)
|
||||
cl2 := client.NewJSONRPCClient(addr)
|
||||
fmt.Printf("=== testing server on %s using %v client", addr, cl2)
|
||||
testWithHTTPClient(t, cl2)
|
||||
|
||||
cl3 := client.NewWSClient(tcpAddr, websocketEndpoint)
|
||||
cl3 := client.NewWSClient(addr, websocketEndpoint)
|
||||
_, err := cl3.Start()
|
||||
require.Nil(t, err)
|
||||
fmt.Printf("=== testing server on %s using %v client", addr, cl3)
|
||||
|
||||
Reference in New Issue
Block a user