diff --git a/conn_test.go b/conn_test.go index 0d25c955..4ba86d45 100644 --- a/conn_test.go +++ b/conn_test.go @@ -728,6 +728,9 @@ func TestCloseBadConn(t *testing.T) { if host == "" { host = "localhost" } + if host[0] == '/' { + t.Skip("cannot test bad connection close with a Unix-domain PGHOST") + } port := os.Getenv("PGPORT") if port == "" { port = "5432"