From 0a234f6a71c8dcecebf5ee32c6784b47ca97872c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Thu, 3 Jan 2019 13:05:22 +0100 Subject: [PATCH] Fix some minor wording / issues Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 263e28a830c7c0ba573f8bb6aa37bee1c3956d22) Signed-off-by: Sebastiaan van Stijn --- integration/container/stop_linux_test.go | 2 +- internal/test/fakestorage/storage.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/container/stop_linux_test.go b/integration/container/stop_linux_test.go index c0cc89d1c1..552706c25b 100644 --- a/integration/container/stop_linux_test.go +++ b/integration/container/stop_linux_test.go @@ -72,7 +72,7 @@ func TestStopContainerWithTimeout(t *testing.T) { func TestDeleteDevicemapper(t *testing.T) { skip.If(t, testEnv.DaemonInfo.Driver != "devicemapper") - skip.If(t, testEnv.IsRemoteDaemon, "cannot start daemon on remote test run") + skip.If(t, testEnv.IsRemoteDaemon) defer setupTest(t)() client := testEnv.APIClient() diff --git a/internal/test/fakestorage/storage.go b/internal/test/fakestorage/storage.go index b091cbc3f1..77d6e2fcb9 100644 --- a/internal/test/fakestorage/storage.go +++ b/internal/test/fakestorage/storage.go @@ -66,7 +66,7 @@ func New(t testingT, dir string, modifiers ...func(*fakecontext.Fake) error) Fak ctx := fakecontext.New(t, dir, modifiers...) switch { case testEnv.IsRemoteDaemon() && strings.HasPrefix(request.DaemonHost(), "unix:///"): - t.Skip(fmt.Sprintf("e2e run : daemon is remote but docker host points to a unix socket")) + t.Skip("e2e run : daemon is remote but docker host points to a unix socket") case testEnv.IsLocalDaemon(): return newLocalFakeStorage(ctx) default: