diff --git a/client/allocrunner/taskrunner/restarts/restarts_test.go b/client/allocrunner/taskrunner/restarts/restarts_test.go index 64368a4b3..48afe4915 100644 --- a/client/allocrunner/taskrunner/restarts/restarts_test.go +++ b/client/allocrunner/taskrunner/restarts/restarts_test.go @@ -285,7 +285,7 @@ func TestClient_RestartTracker_Lifecycle(t *testing.T) { name: "batch job w/ sidecar prestart hook", taskLifecycleConfig: &structs.TaskLifecycleConfig{ Hook: structs.TaskLifecycleHookPrestart, - Sidecar: false, + Sidecar: true, }, jobType: structs.JobTypeBatch, shouldRestartOnSuccess: true,