diff options
Diffstat (limited to 'internal/config/config_test.go')
| -rw-r--r-- | internal/config/config_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go index 973797a..2fcfefb 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -7,6 +7,7 @@ import ( ) func TestNodeNumber(t *testing.T) { + t.Parallel() conf := Config{Nodes: []string{"localhost:1234", "hamburger:4321"}} num, err := conf.NodeNumber("localhost") @@ -32,6 +33,7 @@ func TestNodeNumber(t *testing.T) { } func TestIsNode(t *testing.T) { + t.Parallel() conf := Config{Nodes: []string{"localhost:1234", "hamburger:4321"}} remoteAddr := "localhost:323232" @@ -46,6 +48,7 @@ func TestIsNode(t *testing.T) { } func TestIsNodeWithLookup(t *testing.T) { + t.Parallel() conf := Config{Nodes: []string{"localhost:1234", "hamburger:4321"}} lookupIP := func(addr string) ([]net.IP, error) { |
