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

increase the startup timeout for the run pack #811

Merged
merged 3 commits into from
May 10, 2024
Merged

Conversation

davidsiaw
Copy link
Contributor

@davidsiaw davidsiaw commented May 10, 2024

When the ECS_IMAGE_PULL_BEHAVIOR is default and the image is large, starting a console can take more time than 30 seconds. This will lead to failure to start the container. This just loosens that startup timeout.

How to check that this is working?

Only the logic has changed. The manual test riggings no longer work so need to be updated. But the test mocks the process lister and checks that the process does what it does so go test needs to be good enough for now. I added more modern go-modules so you can use it if you have go installed locally. Otherwise brew install go.

  1. cd dockerfiles/run-pack
  2. go build
  3. go test
  4. should pass.

@degikko degikko requested a review from ochko May 10, 2024 07:25
@degikko
Copy link

degikko commented May 10, 2024

@ochko can you help us review this PR, please?

Copy link
Contributor

@ochko ochko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The test pass.

@davidsiaw davidsiaw merged commit 3882436 into master May 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants