Skip to content

Commit 32d1a6c

Browse files
committedMar 1, 2016
Merge pull request moby#20817 from tiborvass/skip-TestStatsAllNewContainersAdded-remote-daemon
Skip TestStatsAllNewContainersAdded on remote daemons
2 parents 106793d + e80f86b commit 32d1a6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎integration-cli/docker_cli_stats_test.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ func (s *DockerSuite) TestStatsAllNoStream(c *check.C) {
9797

9898
func (s *DockerSuite) TestStatsAllNewContainersAdded(c *check.C) {
9999
// Windows does not support stats
100-
testRequires(c, DaemonIsLinux)
100+
// TODO: remove SameHostDaemon
101+
// The reason it was added is because, there seems to be some race that makes this test fail
102+
// for remote daemons (namely in the win2lin CI). We highly welcome contributions to fix this.
103+
testRequires(c, DaemonIsLinux, SameHostDaemon)
101104

102105
id := make(chan string)
103106
addedChan := make(chan struct{})

0 commit comments

Comments
 (0)
Please sign in to comment.