bump the busybox test version to resolve test failures

- bump busybox version
- specify the path to /bin/sleep to avoid calling a new shell
  builtin
This commit is contained in:
Todd Neal 2023-08-16 07:29:25 -05:00
parent e298e92115
commit b75c5d33e5
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ func getSigkillTargetPod(podName string, ctnName string) *v1.Pod {
Command: []string{
"sh",
"-c",
"trap \"echo SIGTERM caught\" SIGTERM SIGINT; touch /tmp/healthy; sleep 1000",
"trap \"echo SIGTERM caught\" SIGTERM SIGINT; touch /tmp/healthy; /bin/sleep 1000",
},
// Using readiness probe to guarantee signal handler registering finished
ReadinessProbe: &v1.Probe{

View File

@ -238,7 +238,7 @@ func initImageConfigs(list RegistryList) (map[ImageID]Config, map[ImageID]Config
configs[AuthenticatedWindowsNanoServer] = Config{list.GcAuthenticatedRegistry, "windows-nanoserver", "v1"}
configs[APIServer] = Config{list.PromoterE2eRegistry, "sample-apiserver", "1.17.7"}
configs[AppArmorLoader] = Config{list.PromoterE2eRegistry, "apparmor-loader", "1.4"}
configs[BusyBox] = Config{list.PromoterE2eRegistry, "busybox", "1.29-4"}
configs[BusyBox] = Config{list.PromoterE2eRegistry, "busybox", "1.36.1-1"}
configs[CudaVectorAdd] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "1.0"}
configs[CudaVectorAdd2] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "2.3"}
configs[DistrolessIptables] = Config{list.BuildImageRegistry, "distroless-iptables", "v0.2.7"}