Skip to content

Commit

Permalink
fix(test): Increase max execution time for timeout tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfuss committed Aug 2, 2023
1 parent 27eb2e1 commit f6ffc32
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit f6ffc32

Please sign in to comment.