@@ -45,13 +45,15 @@ func (s *TestDockerSuit) TestLabelsFilterJobsCount(c *check.C) {
45
45
{
46
46
requiredLabel : "true" ,
47
47
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" ,
50
51
},
51
52
{
52
53
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" ,
55
57
},
56
58
}
57
59
@@ -62,7 +64,6 @@ func (s *TestDockerSuit) TestLabelsFilterJobsCount(c *check.C) {
62
64
c .Assert (err , check .IsNil )
63
65
c .Assert (scheduler , check .NotNil )
64
66
65
- c .Skip ("This test will not work until https://github.com/fsouza/go-dockerclient/pull/1031 is merged" )
66
67
c .Assert (scheduler .Jobs , check .HasLen , 1 )
67
68
}
68
69
0 commit comments