From 8f223080c027847cd4b3363fa32a66780e5cca5c Mon Sep 17 00:00:00 2001 From: John Murret Date: Fri, 14 Jul 2023 10:14:26 -0600 Subject: [PATCH] fix test --- api/api_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_test.go b/api/api_test.go index 856bf623233a..230d8f9fdfa5 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -1061,7 +1061,7 @@ func TestAPI_UnixSocket(t *testing.T) { socket := filepath.Join(tempDir, "test.sock") c, s := makeClientWithConfig(t, func(c *Config) { - c.Address = "localhost" + c.Address = "unix://" + socket }, func(c *testutil.TestServerConfig) { c.Addresses = &testutil.TestAddressConfig{ HTTP: "unix://" + socket,