This commit is contained in:
Alex Dadgar
2016-02-22 13:24:26 -08:00
parent 3cac3fd5c4
commit d48ee01bd2

View File

@@ -748,10 +748,10 @@ func TestProgressMade(t *testing.T) {
}
both := &structs.PlanResult{
NodeAllocation: m,
NodeUpdate: m,
NodeUpdate: m,
}
update := &structs.PlanResult{ NodeUpdate: m }
alloc := &structs.PlanResult{ NodeAllocation: m }
update := &structs.PlanResult{NodeUpdate: m}
alloc := &structs.PlanResult{NodeAllocation: m}
if !(progressMade(both) && progressMade(update) && progressMade(alloc)) {
t.Fatal("bad")
}