Lower shutdown delay in test

This commit is contained in:
Michael Schurter
2017-08-17 13:57:22 -07:00
parent 32d782deb1
commit b4480cdcff

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 = 5 * time.Second
task.ShutdownDelay = 2 * time.Second
ctx := testTaskRunnerFromAlloc(t, true, alloc)
ctx.tr.MarkReceived()