浏览代码

Merge pull request #39887 from thaJeztah/skip_flaky_TestLogBlocking

Windows: skip flaky TestLogBlocking
Sebastiaan van Stijn 6 年之前
父节点
当前提交
a3ca7b29aa
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      daemon/logger/awslogs/cloudwatchlogs_test.go

+ 2 - 0
daemon/logger/awslogs/cloudwatchlogs_test.go

@@ -24,6 +24,7 @@ import (
 	"github.com/docker/docker/dockerversion"
 	"gotest.tools/assert"
 	is "gotest.tools/assert/cmp"
+	"gotest.tools/skip"
 )
 
 const (
@@ -286,6 +287,7 @@ func TestLogClosed(t *testing.T) {
 }
 
 func TestLogBlocking(t *testing.T) {
+	skip.If(t, runtime.GOOS == "windows", "FIXME: test is flaky on Windows. See #39857")
 	mockClient := newMockClient()
 	stream := &logStream{
 		client:   mockClient,