|
@ -374,6 +374,7 @@ func newTestHarnessListener(logger log.Logger, cfg TestHarnessConfig) (*privval. |
|
|
logger.Info("Resolved TCP address for listener", "addr", tcpLn.Addr()) |
|
|
logger.Info("Resolved TCP address for listener", "addr", tcpLn.Addr()) |
|
|
svln = tcpLn |
|
|
svln = tcpLn |
|
|
default: |
|
|
default: |
|
|
|
|
|
_ = ln.Close() |
|
|
logger.Error("Unsupported protocol (must be unix:// or tcp://)", "proto", proto) |
|
|
logger.Error("Unsupported protocol (must be unix:// or tcp://)", "proto", proto) |
|
|
return nil, newTestHarnessError(ErrInvalidParameters, nil, fmt.Sprintf("Unsupported protocol: %s", proto)) |
|
|
return nil, newTestHarnessError(ErrInvalidParameters, nil, fmt.Sprintf("Unsupported protocol: %s", proto)) |
|
|
} |
|
|
} |
|
|