Skip to content

Commit

Permalink
Use IfNotPresent on e2e
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <[email protected]>
  • Loading branch information
tenzen-y committed Feb 9, 2023
1 parent ec371bd commit 335363c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/e2e/mpi_job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ var _ = ginkgo.Describe("MPIJob", func() {
{
Name: "launcher",
Image: openMPIImage,
ImagePullPolicy: corev1.PullNever, // use locally built image.
ImagePullPolicy: corev1.PullIfNotPresent, // use locally built image.
Command: []string{"mpirun"},
Args: []string{
"-n",
Expand All @@ -99,7 +99,7 @@ var _ = ginkgo.Describe("MPIJob", func() {
{
Name: "worker",
Image: openMPIImage,
ImagePullPolicy: corev1.PullNever, // use locally built image.
ImagePullPolicy: corev1.PullIfNotPresent, // use locally built image.
},
}
})
Expand Down Expand Up @@ -194,8 +194,8 @@ var _ = ginkgo.Describe("MPIJob", func() {
{
Name: "launcher",
Image: intelMPIImage,
ImagePullPolicy: corev1.PullNever, // use locally built image.
Command: []string{}, // uses entrypoint.
ImagePullPolicy: corev1.PullIfNotPresent, // use locally built image.
Command: []string{}, // uses entrypoint.
Args: []string{
"mpirun",
"-n",
Expand All @@ -208,8 +208,8 @@ var _ = ginkgo.Describe("MPIJob", func() {
{
Name: "worker",
Image: intelMPIImage,
ImagePullPolicy: corev1.PullNever, // use locally built image.
Command: []string{}, // uses entrypoint.
ImagePullPolicy: corev1.PullIfNotPresent, // use locally built image.
Command: []string{}, // uses entrypoint.
Args: []string{
"/usr/sbin/sshd",
"-De",
Expand Down

0 comments on commit 335363c

Please sign in to comment.