mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
tests: Run a task long enough to be restartable
This commit is contained in:
@@ -40,7 +40,7 @@ func TestAllocations_Restart(t *testing.T) {
|
||||
Mode: nstructs.RestartPolicyModeFail,
|
||||
}
|
||||
a.Job.TaskGroups[0].Tasks[0].Config = map[string]interface{}{
|
||||
"run_for": "10ms",
|
||||
"run_for": "10s",
|
||||
}
|
||||
require.Nil(client.addAlloc(a, ""))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user