Browse Source

rpc/lib: test tcp and unix

pull/561/head
Ethan Buchman 8 years ago
parent
commit
5c29d7aba9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rpc/lib/rpc_test.go

+ 2
- 2
rpc/lib/rpc_test.go View File

@ -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)


Loading…
Cancel
Save