Skip to content

Commit

Permalink
fixup unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rangoo94 committed Aug 13, 2024
1 parent aaf1673 commit 2a98b47
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ func TestProcessBasic(t *testing.T) {
RestartPolicy: corev1.RestartPolicyNever,
EnableServiceLinks: common.Ptr(false),
Volumes: volumes,
PreemptionPolicy: common.Ptr(corev1.PreemptNever),
InitContainers: []corev1.Container{},
Containers: []corev1.Container{
{
Expand Down Expand Up @@ -289,6 +290,7 @@ func TestProcessShellWithNonStandardImage(t *testing.T) {
RestartPolicy: corev1.RestartPolicyNever,
EnableServiceLinks: common.Ptr(false),
Volumes: volumes,
PreemptionPolicy: common.Ptr(corev1.PreemptNever),
InitContainers: []corev1.Container{
{
Name: "1",
Expand Down Expand Up @@ -395,6 +397,7 @@ func TestProcessBasicEnvReference(t *testing.T) {
RestartPolicy: corev1.RestartPolicyNever,
EnableServiceLinks: common.Ptr(false),
Volumes: volumes,
PreemptionPolicy: common.Ptr(corev1.PreemptNever),
InitContainers: []corev1.Container{},
Containers: []corev1.Container{
{
Expand Down Expand Up @@ -488,6 +491,7 @@ func TestProcessMultipleSteps(t *testing.T) {
RestartPolicy: corev1.RestartPolicyNever,
EnableServiceLinks: common.Ptr(false),
Volumes: volumes,
PreemptionPolicy: common.Ptr(corev1.PreemptNever),
InitContainers: []corev1.Container{
{
Name: "1",
Expand Down Expand Up @@ -626,6 +630,7 @@ func TestProcessNestedSteps(t *testing.T) {
RestartPolicy: corev1.RestartPolicyNever,
EnableServiceLinks: common.Ptr(false),
Volumes: volumes,
PreemptionPolicy: common.Ptr(corev1.PreemptNever),
InitContainers: []corev1.Container{
{
Name: "1",
Expand Down Expand Up @@ -727,6 +732,7 @@ func TestProcessLocalContent(t *testing.T) {
RestartPolicy: corev1.RestartPolicyNever,
EnableServiceLinks: common.Ptr(false),
Volumes: volumes,
PreemptionPolicy: common.Ptr(corev1.PreemptNever),
InitContainers: []corev1.Container{
{
Name: "1",
Expand Down Expand Up @@ -806,6 +812,7 @@ func TestProcessGlobalContent(t *testing.T) {
RestartPolicy: corev1.RestartPolicyNever,
EnableServiceLinks: common.Ptr(false),
Volumes: volumes,
PreemptionPolicy: common.Ptr(corev1.PreemptNever),
InitContainers: []corev1.Container{
{
Name: "1",
Expand Down

0 comments on commit 2a98b47

Please sign in to comment.