1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #20817 from tiborvass/skip-TestStatsAllNewContainersAdded-remote-daemon

Skip TestStatsAllNewContainersAdded on remote daemons
This commit is contained in:
David Calavera 2016-03-01 13:10:44 -08:00
commit 32d1a6cee5

View file

@ -97,7 +97,10 @@ func (s *DockerSuite) TestStatsAllNoStream(c *check.C) {
func (s *DockerSuite) TestStatsAllNewContainersAdded(c *check.C) {
// Windows does not support stats
testRequires(c, DaemonIsLinux)
// TODO: remove SameHostDaemon
// The reason it was added is because, there seems to be some race that makes this test fail
// for remote daemons (namely in the win2lin CI). We highly welcome contributions to fix this.
testRequires(c, DaemonIsLinux, SameHostDaemon)
id := make(chan string)
addedChan := make(chan struct{})