Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
hantmac committed Feb 20, 2024
1 parent 64c7aba commit fff2acb
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,13 @@ var (
Spec: appsv1alpha1.ContainerRecreateRequestSpec{
PodName: podDemo.Name,
Containers: []appsv1alpha1.ContainerRecreateRequestContainer{
{Name: "sidecar"},
{Name: "sidecar",
PreStop: &appsv1alpha1.ProbeHandler{
Exec: &corev1.ExecAction{
Command: []string{"sleep", "5"},
},
},
},
},
Strategy: &appsv1alpha1.ContainerRecreateRequestStrategy{
ForceRecreate: true,
Expand Down

0 comments on commit fff2acb

Please sign in to comment.