-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: Add wait timeout for deploy command #7162
Conversation
cullenwatson
commented
Jun 13, 2024
- closes How do I increase the time limit for sam deploy? #4478
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be able to make a unit test where the max_wait_duration is really low like 5 seconds and test that it goes through?
It is in minutes. Is there a way we could test one minute timeout? |
Hmm, yeah on second thought, this seems fine to me to test since the previous hard coded value was 120 seconds anyways, maybe a NIT that im thinking of is the possibility of the sam deploy time outing for an in definite amount of time, so maybe something like setting a reasonable upper limit like 10 minutes to me. |
ok i just put min of 60 minutes and max 480 minutes as 480 was what the op wanted |
Hi @cullenwatson could you please check the failed checks and fix accordingly? Seems like there's some linting issues, and you also need to run |
Hi @cullenwatson, just wanted to check in to see if you had any blockers or help wanted to continue contributing. |
ok the tests are passing now besides the 2 that are failing also in main |
@cullenwatson , thanks for this improvement! I'm no longer working on the project that needed SAM to run longer than 1 hour, so I'm no longer in a position to test this. I've passed on the good news anyway. |