See issue #40193
Signed-off-by: Sam Whited <sam@samwhited.com>
| ... | ... |
@@ -2,13 +2,11 @@ package logging |
| 2 | 2 |
|
| 3 | 3 |
import ( |
| 4 | 4 |
"bytes" |
| 5 |
- "testing" |
|
| 6 |
- |
|
| 7 | 5 |
"context" |
| 8 |
- |
|
| 9 |
- "time" |
|
| 10 |
- |
|
| 6 |
+ "runtime" |
|
| 11 | 7 |
"strings" |
| 8 |
+ "testing" |
|
| 9 |
+ "time" |
|
| 12 | 10 |
|
| 13 | 11 |
"github.com/docker/docker/api/types" |
| 14 | 12 |
"github.com/docker/docker/api/types/container" |
| ... | ... |
@@ -19,6 +17,9 @@ import ( |
| 19 | 19 |
|
| 20 | 20 |
// TestReadPluginNoRead tests that reads are supported even if the plugin isn't capable. |
| 21 | 21 |
func TestReadPluginNoRead(t *testing.T) {
|
| 22 |
+ if runtime.GOOS == "windows" {
|
|
| 23 |
+ t.Skip("no unix domain sockets on Windows")
|
|
| 24 |
+ } |
|
| 22 | 25 |
t.Parallel() |
| 23 | 26 |
d := daemon.New(t) |
| 24 | 27 |
d.StartWithBusybox(t, "--iptables=false") |