@@ -45,13 +45,15 @@ func (s *TestDockerSuit) TestLabelsFilterJobsCount(c *check.C) {
4545 {
4646 requiredLabel : "true" ,
4747 filterLabel [0 ]: filterLabel [1 ],
48- labelPrefix + "." + jobExec + ".job2.schedule" : "schedule2" ,
49- labelPrefix + "." + jobExec + ".job2.command" : "command2" ,
48+ labelPrefix + "." + jobExec + ".job2.schedule" : "* * * * *" ,
49+ labelPrefix + "." + jobExec + ".job2.command" : "command2" ,
50+ labelPrefix + "." + jobExec + ".job2.container" : "container2" ,
5051 },
5152 {
5253 requiredLabel : "true" ,
53- labelPrefix + "." + jobExec + ".job3.schedule" : "schedule3" ,
54- labelPrefix + "." + jobExec + ".job3.command" : "command3" ,
54+ labelPrefix + "." + jobExec + ".job3.schedule" : "* * * * *" ,
55+ labelPrefix + "." + jobExec + ".job3.command" : "command3" ,
56+ labelPrefix + "." + jobExec + ".job3.container" : "container3" ,
5557 },
5658 }
5759
@@ -62,7 +64,6 @@ func (s *TestDockerSuit) TestLabelsFilterJobsCount(c *check.C) {
6264 c .Assert (err , check .IsNil )
6365 c .Assert (scheduler , check .NotNil )
6466
65- c .Skip ("This test will not work until https://github.com/fsouza/go-dockerclient/pull/1031 is merged" )
6667 c .Assert (scheduler .Jobs , check .HasLen , 1 )
6768}
6869
0 commit comments