Commit a1ed5085 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4328ac71
// Copyright (C) 2017-2018 Nexedi SA and Contributors. // Copyright (C) 2017-2020 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com> // Kirill Smelkov <kirr@nexedi.com>
// //
// This program is free software: you can Use, Study, Modify and Redistribute // This program is free software: you can Use, Study, Modify and Redistribute
...@@ -167,6 +167,7 @@ func AddrString(network, addr string) (Address, error) { ...@@ -167,6 +167,7 @@ func AddrString(network, addr string) (Address, error) {
case strings.HasPrefix(network, "tcp"): case strings.HasPrefix(network, "tcp"):
case strings.HasPrefix(network, "udp"): case strings.HasPrefix(network, "udp"):
case strings.HasPrefix(network, "pipe"): case strings.HasPrefix(network, "pipe"):
case strings.HasPrefix(network, "lonet"):
} }
host, portstr, err := net.SplitHostPort(addr) host, portstr, err := net.SplitHostPort(addr)
......
...@@ -408,7 +408,7 @@ func Verify(t *testing.T, f func(*tEnv)) { ...@@ -408,7 +408,7 @@ func Verify(t *testing.T, f func(*tEnv)) {
// TODO don't pass in opt -> instead pass in tEnv which will have .NewCluster() and use T.opt for it. // TODO don't pass in opt -> instead pass in tEnv which will have .NewCluster() and use T.opt for it.
t.Run("net="+network, func (t *testing.T) { t.Run("net="+network, func (t *testing.T) {
tracetest.Run(t, func(t *tracetest.T) { // XXX -> Verify tracetest.Verify(t, func(t *tracetest.T) {
tenv := &tEnv{ tenv := &tEnv{
T: t, T: t,
opt: opt, opt: opt,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment