Skip to content

Commit

Permalink
Modify client_test ipcTestClient funtion endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaowenwe committed Jul 30, 2019
1 parent d41c3c9 commit 4be5835
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/cmdtest/test_cmd.go
Expand Up @@ -176,6 +176,8 @@ func (tt *TestCmd) ExpectExit() {
if tt.Cleanup != nil {
tt.Cleanup()
}
if len(output) > 0 {
}

}

Expand Down
2 changes: 1 addition & 1 deletion rpc/client_test.go
Expand Up @@ -520,7 +520,7 @@ func httpTestClient(srv *Server, transport string, fl *flakeyListener) (*Client,

func ipcTestClient(srv *Server, fl *flakeyListener) (*Client, net.Listener) {
// Listen on a random endpoint.
endpoint := fmt.Sprintf("Elastos.ELA.SideChain.ETH-test-ipc-%d-%d", os.Getpid(), rand.Int63())
endpoint := fmt.Sprintf("Elastos.ETH-test-ipc-%d-%d", os.Getpid(), rand.Int63())
if runtime.GOOS == "windows" {
endpoint = `\\.\pipe\` + endpoint
} else {
Expand Down

0 comments on commit 4be5835

Please sign in to comment.