mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: RS3: Temporarily disable TestRunAttachFailedNoLeak
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
94b987043f
commit
9e587fa72b
1 changed files with 15 additions and 0 deletions
|
@ -27,6 +27,7 @@ import (
|
||||||
"github.com/docker/docker/integration-cli/cli/build"
|
"github.com/docker/docker/integration-cli/cli/build"
|
||||||
"github.com/docker/docker/integration-cli/cli/build/fakecontext"
|
"github.com/docker/docker/integration-cli/cli/build/fakecontext"
|
||||||
"github.com/docker/docker/pkg/mount"
|
"github.com/docker/docker/pkg/mount"
|
||||||
|
"github.com/docker/docker/pkg/parsers/kernel"
|
||||||
"github.com/docker/docker/pkg/stringid"
|
"github.com/docker/docker/pkg/stringid"
|
||||||
"github.com/docker/docker/pkg/stringutils"
|
"github.com/docker/docker/pkg/stringutils"
|
||||||
"github.com/docker/docker/runconfig"
|
"github.com/docker/docker/runconfig"
|
||||||
|
@ -4010,6 +4011,20 @@ func (s *DockerSuite) TestRunNamedVolumesFromNotRemoved(c *check.C) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerSuite) TestRunAttachFailedNoLeak(c *check.C) {
|
func (s *DockerSuite) TestRunAttachFailedNoLeak(c *check.C) {
|
||||||
|
// TODO @msabansal - https://github.com/moby/moby/issues/35023. Duplicate
|
||||||
|
// port mappings are not errored out on RS3 builds. Temporarily disabling
|
||||||
|
// this test pending further investigation. Note we parse kernel.GetKernelVersion
|
||||||
|
// rather than system.GetOSVersion as test binaries aren't manifested, so would
|
||||||
|
// otherwise report build 9200.
|
||||||
|
if runtime.GOOS == "windows" {
|
||||||
|
v, err := kernel.GetKernelVersion()
|
||||||
|
c.Assert(err, checker.IsNil)
|
||||||
|
build, _ := strconv.Atoi(strings.Split(strings.SplitN(v.String(), " ", 3)[2][1:], ".")[0])
|
||||||
|
if build >= 16292 { // @jhowardmsft TODO - replace with final RS3 build and ==
|
||||||
|
c.Skip("Temporarily disabled on RS3 builds")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
nroutines, err := getGoroutineNumber()
|
nroutines, err := getGoroutineNumber()
|
||||||
c.Assert(err, checker.IsNil)
|
c.Assert(err, checker.IsNil)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue