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

Increased timeout to avoid service unavailable error #14

Closed
wants to merge 1 commit into from

Conversation

vladvildanov
Copy link
Collaborator

Timeout should be increased cause 10 seconds is not enough for GitHub actions CI to properly run infrastructure after docker-compose up -d. It leads to this kind of error when it's tries to create cluster, but service still unavailable

https://github.com/vladvildanov/predis/actions/runs/7709095086/job/21009537690

@vladvildanov vladvildanov added the enhancement New feature or request label Jan 30, 2024
@@ -6,7 +6,7 @@ fi

## Build infrastructure ##
docker-compose up -d
sleep 10
sleep 15
Copy link
Contributor

@chayim chayim Jan 30, 2024

Choose a reason for hiding this comment

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

How about instead, we use health checks? Yes, we still need timeouts due to time to settle?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, I'm searching for an alternative for this hacks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants