Skip to content

Commit

Permalink
test: increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Oct 2, 2024
1 parent fda3da2 commit d63b5df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func testRunPostman(t *testing.T, m *e2e.Minikube, e *e2e.Extension) {
exec, err := e.RunAction("com.steadybit.extension_postman.collection.run", &target, config, nil)
require.NoError(t, err)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Starting newman!", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Postman run completed successfully", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Postman run completed successfully", 210*time.Second)
require.NoError(t, exec.Cancel())
}

Expand All @@ -116,7 +116,7 @@ func testRunPostmanWithEnvId(t *testing.T, m *e2e.Minikube, e *e2e.Extension) {
require.NoError(t, err)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "--environment", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Starting newman!", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Postman run completed successfully", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Postman run completed successfully", 210*time.Second)
require.NoError(t, exec.Cancel())
}

Expand All @@ -137,6 +137,6 @@ func testRunPostmanWithEnvName(t *testing.T, m *e2e.Minikube, e *e2e.Extension)
require.NoError(t, err)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "--environment", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Starting newman!", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Postman run completed successfully", 90*time.Second)
e2e.AssertLogContainsWithTimeout(t, m, e.Pod, "Postman run completed successfully", 210*time.Second)
require.NoError(t, exec.Cancel())
}

0 comments on commit d63b5df

Please sign in to comment.