Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(test): Increase max execution time for timeout tests #5680

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/integration/local/invoke/test_integrations_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ def test_invoke_with_timeout_set(self, function_name):

# validate the time of the cli (timeout is set to 5s)
self.assertGreater(wall_clock_cli_duration, 5)
self.assertLess(wall_clock_cli_duration, 20)
# validate the the duration is roughly under the timeout (with some additional
# time to take in account time for SAM CLI to do work)
self.assertLess(wall_clock_cli_duration, 25)

self.assertEqual(process.returncode, 0)
self.assertEqual(
Expand Down