mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
core: add spec changed test with constriants
This commit is contained in:
@@ -278,6 +278,12 @@ func TestJob_SpecChanged(t *testing.T) {
|
||||
Original: base,
|
||||
New: change,
|
||||
},
|
||||
{
|
||||
Name: "With Constraints",
|
||||
Changed: false,
|
||||
Original: &Job{Constraints: []*Constraint{{"A", "B", "="}}},
|
||||
New: &Job{Constraints: []*Constraint{{"A", "B", "="}}},
|
||||
},
|
||||
}
|
||||
|
||||
for _, c := range cases {
|
||||
|
||||
Reference in New Issue
Block a user