Skip to content

Commit

Permalink
test: remove pod deletion test
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Kumar <rohankmr414@gmail.com>
  • Loading branch information
rohankmr414 committed Jul 26, 2022
1 parent c8cd839 commit df001a3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/e2e/functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,6 @@ func (s *FunctionalSuite) TestArchiveStrategies() {
})
}

// when you delete a pending pod,
// then the pod is re- created automatically
func (s *FunctionalSuite) TestDeletingPendingPod() {
s.Given().
Workflow("@testdata/pending-workflow.yaml").
When().
SubmitWorkflow().
WaitForWorkflow(fixtures.ToStart).
Exec("kubectl", []string{"-n", "argo", "delete", "pod", "-l", "workflows.argoproj.io/workflow"}, fixtures.OutputRegexp(`pod "pending-.*" deleted`)).
Wait(time.Duration(3*fixtures.EnvFactor)*time.Second). // allow 3s for reconciliation, we'll create a new pod
Exec("kubectl", []string{"-n", "argo", "get", "pod", "-l", "workflows.argoproj.io/workflow"}, fixtures.OutputRegexp(`pending-.*Pending`))
}

func (s *FunctionalSuite) TestWorkflowLevelErrorRetryPolicy() {
s.Given().
Workflow("@testdata/retry-on-error-workflow.yaml").
Expand Down

0 comments on commit df001a3

Please sign in to comment.