mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
add truncation boolean to response
This commit is contained in:
@@ -69,6 +69,7 @@ func TestHTTP_ResourcesWithSingleJob(t *testing.T) {
|
||||
}
|
||||
|
||||
assert.Equal(t, j[0], testJob)
|
||||
assert.Equal(t, res.Truncations["job"], false)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -152,6 +153,7 @@ func TestHTTP_ResoucesListForEvaluations(t *testing.T) {
|
||||
|
||||
assert.Contains(t, j, eval1.ID)
|
||||
assert.NotContains(t, j, eval2.ID)
|
||||
assert.Equal(t, res.Truncations["eval"], false)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user