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

Improve current_rocketchat_version(), wait for slow server startup #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frdmn
Copy link
Contributor

@frdmn frdmn commented Apr 12, 2021

There were occasions in the past where the Rocket.Chat server was not yet ready for the current version check, thus the script failed accordingly:

https://github.com/RocketChat/install.sh/blob/05b8d9b/rocketchatctl#L766

The new check will wait until the endpoint actually returns the version information as expected.

Fixes #34

@debdutdeb
Copy link
Member

@frdmn - curious why the assumtion that the server will for sure start up successfully? Would it not be better to have some sort of a timeout? or check count?

@debdutdeb debdutdeb self-assigned this Nov 26, 2021
@debdutdeb debdutdeb self-requested a review November 26, 2021 16:02
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.

Make current version test more robust
2 participants