Skip to content

Commit 9e587fa

Browse files
author
John Howard
committed
Windows: RS3: Temporarily disable TestRunAttachFailedNoLeak
Signed-off-by: John Howard <[email protected]>
1 parent 94b9870 commit 9e587fa

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

integration-cli/docker_cli_run_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
"github.com/docker/docker/integration-cli/cli/build"
2828
"github.com/docker/docker/integration-cli/cli/build/fakecontext"
2929
"github.com/docker/docker/pkg/mount"
30+
"github.com/docker/docker/pkg/parsers/kernel"
3031
"github.com/docker/docker/pkg/stringid"
3132
"github.com/docker/docker/pkg/stringutils"
3233
"github.com/docker/docker/runconfig"
@@ -4010,6 +4011,20 @@ func (s *DockerSuite) TestRunNamedVolumesFromNotRemoved(c *check.C) {
40104011
}
40114012

40124013
func (s *DockerSuite) TestRunAttachFailedNoLeak(c *check.C) {
4014+
// TODO @msabansal - https://github.com/moby/moby/issues/35023. Duplicate
4015+
// port mappings are not errored out on RS3 builds. Temporarily disabling
4016+
// this test pending further investigation. Note we parse kernel.GetKernelVersion
4017+
// rather than system.GetOSVersion as test binaries aren't manifested, so would
4018+
// otherwise report build 9200.
4019+
if runtime.GOOS == "windows" {
4020+
v, err := kernel.GetKernelVersion()
4021+
c.Assert(err, checker.IsNil)
4022+
build, _ := strconv.Atoi(strings.Split(strings.SplitN(v.String(), " ", 3)[2][1:], ".")[0])
4023+
if build >= 16292 { // @jhowardmsft TODO - replace with final RS3 build and ==
4024+
c.Skip("Temporarily disabled on RS3 builds")
4025+
}
4026+
}
4027+
40134028
nroutines, err := getGoroutineNumber()
40144029
c.Assert(err, checker.IsNil)
40154030

0 commit comments

Comments
 (0)