|
@@ -2,13 +2,11 @@ package logging
|
|
|
|
|
|
import (
|
|
import (
|
|
"bytes"
|
|
"bytes"
|
|
- "testing"
|
|
|
|
-
|
|
|
|
"context"
|
|
"context"
|
|
-
|
|
|
|
- "time"
|
|
|
|
-
|
|
|
|
|
|
+ "runtime"
|
|
"strings"
|
|
"strings"
|
|
|
|
+ "testing"
|
|
|
|
+ "time"
|
|
|
|
|
|
"github.com/docker/docker/api/types"
|
|
"github.com/docker/docker/api/types"
|
|
"github.com/docker/docker/api/types/container"
|
|
"github.com/docker/docker/api/types/container"
|
|
@@ -19,6 +17,9 @@ import (
|
|
|
|
|
|
// TestReadPluginNoRead tests that reads are supported even if the plugin isn't capable.
|
|
// TestReadPluginNoRead tests that reads are supported even if the plugin isn't capable.
|
|
func TestReadPluginNoRead(t *testing.T) {
|
|
func TestReadPluginNoRead(t *testing.T) {
|
|
|
|
+ if runtime.GOOS == "windows" {
|
|
|
|
+ t.Skip("no unix domain sockets on Windows")
|
|
|
|
+ }
|
|
t.Parallel()
|
|
t.Parallel()
|
|
d := daemon.New(t)
|
|
d := daemon.New(t)
|
|
d.StartWithBusybox(t, "--iptables=false")
|
|
d.StartWithBusybox(t, "--iptables=false")
|