From 4558fa6aec2d0f3655e2380a9e47f543d454efa3 Mon Sep 17 00:00:00 2001 From: Mahmood Ali Date: Sat, 21 Mar 2020 17:31:31 -0400 Subject: [PATCH] fix test --- client/allocrunner/taskrunner/restarts/restarts_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,