Fix test (due to merge)

This commit is contained in:
Ivo Verberk 2015-12-24 21:23:05 +01:00
parent fd177f4c6f
commit 596938014e
1 changed files with 5 additions and 0 deletions

View File

@ -572,6 +572,10 @@ func TestStateStore_JobsByPeriodic(t *testing.T) {
}
iter, err := state.JobsByPeriodic(true)
if err != nil {
t.Fatalf("err: %v", err)
}
var outPeriodic []*structs.Job
for {
raw := iter.Next()
@ -582,6 +586,7 @@ func TestStateStore_JobsByPeriodic(t *testing.T) {
}
iter, err = state.JobsByPeriodic(false)
var outNonPeriodic []*structs.Job
for {
raw := iter.Next()