From: Tianon Gravi Date: Sun, 14 Jun 2020 20:12:29 +0000 (+0100) Subject: update several tests for text/path errors X-Git-Tag: archive/raspbian/18.09.1+dfsg1-7.1+rpi1+deb10u2^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4aa8472dc220194fae64d424086c66a86913c29f;p=docker.io.git update several tests for text/path errors Forwarded: not-needed Gbp-Pq: Name test--fix-test-errors.patch --- diff --git a/engine/pkg/authorization/authz_unix_test.go b/engine/pkg/authorization/authz_unix_test.go index 8f45d3ac..5bb29ec4 100644 --- a/engine/pkg/authorization/authz_unix_test.go +++ b/engine/pkg/authorization/authz_unix_test.go @@ -346,6 +346,8 @@ func createTestPlugin(t *testing.T) *authorizationPlugin { t.Fatal(err) } + t.Skip("Skipping plugin tests -- Unix socket path is too long: unix:///"+path.Join(pwd, pluginAddress)) + client, err := plugins.NewClient("unix:///"+path.Join(pwd, pluginAddress), &tlsconfig.Options{InsecureSkipVerify: true}) if err != nil { t.Fatalf("Failed to create client %v", err)