diff --git a/shim/internal/config_test.go b/shim/internal/config_test.go index d9ece87..4cfb7ea 100644 --- a/shim/internal/config_test.go +++ b/shim/internal/config_test.go @@ -681,7 +681,7 @@ func TestTLSClientWithChaincodeServer(t *testing.T) { clientCert: []byte(certPEM), clientRootCert: []byte(rootPEM), success: false, - errMsg: "rpc error: code = Unavailable desc = write tcp 127.0.0.1:[[:digit:]]{5}->127.0.0.1:[[:digit:]]{5}: write: broken pipe", + errMsg: "rpc error", address: "127.0.0.1:0", }, { @@ -689,7 +689,7 @@ func TestTLSClientWithChaincodeServer(t *testing.T) { issrv: true, clientRootCert: []byte(rootPEM), success: false, - errMsg: "rpc error: code = Unavailable desc = write tcp 127.0.0.1:[[:digit:]]{5}->127.0.0.1:[[:digit:]]{5}: write: broken pipe", + errMsg: "rpc error", address: "127.0.0.1:0", }, }