mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Lower ShutdownDelay for non-Travis testing
This commit is contained in:
@@ -1626,7 +1626,7 @@ func TestTaskRunner_ShutdownDelay(t *testing.T) {
|
||||
}
|
||||
|
||||
// No shutdown escape hatch for this delay, so don't set it too high
|
||||
task.ShutdownDelay = 2 * time.Second
|
||||
task.ShutdownDelay = 500 * time.Duration(testutil.TestMultiplier()) * time.Millisecond
|
||||
|
||||
ctx := testTaskRunnerFromAlloc(t, true, alloc)
|
||||
ctx.tr.MarkReceived()
|
||||
|
||||
Reference in New Issue
Block a user