Skip to content

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

Open
frdmn wants to merge 1 commit intomasterfrom
fix/improve-current_rocketchat_version
Open

Improve current_rocketchat_version(), wait for slow server startup#40
frdmn wants to merge 1 commit intomasterfrom
fix/improve-current_rocketchat_version

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