Fix some minor wording / issues
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 263e28a830
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
bb6db57acc
commit
0a234f6a71
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ func TestStopContainerWithTimeout(t *testing.T) {
|
||||||
|
|
||||||
func TestDeleteDevicemapper(t *testing.T) {
|
func TestDeleteDevicemapper(t *testing.T) {
|
||||||
skip.If(t, testEnv.DaemonInfo.Driver != "devicemapper")
|
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)()
|
defer setupTest(t)()
|
||||||
client := testEnv.APIClient()
|
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...)
|
ctx := fakecontext.New(t, dir, modifiers...)
|
||||||
switch {
|
switch {
|
||||||
case testEnv.IsRemoteDaemon() && strings.HasPrefix(request.DaemonHost(), "unix:///"):
|
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():
|
case testEnv.IsLocalDaemon():
|
||||||
return newLocalFakeStorage(ctx)
|
return newLocalFakeStorage(ctx)
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Reference in a new issue