Fix some minor wording / issues
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit 263e28a830c7c0ba573f8bb6aa37bee1c3956d22) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 0a234f6a71c8dcecebf5ee32c6784b47ca97872c Component: engine
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user