Lower ShutdownDelay for non-Travis testing

This commit is contained in:
Michael Schurter
2017-08-17 14:23:42 -07:00
parent 08d9c4b067
commit fbe85b5964

View File

@@ -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()