supercharge / mongodb-github-action

Use MongoDB in GitHub Actions
MIT License
222 stars 46 forks source link

single-instance wait for mongo #50

Closed brettmc closed 1 year ago

brettmc commented 1 year ago

move the existing wait check into a function which can be called for both single-instance and replicaset modes.

Fixes: #49

marcuspoehls commented 1 year ago

The feature to wait for MongoDB single instances was added in version 1.10.0. Thank you for your contribution 👍 I did some additional refinements on top of your changes.

@brettmc Thank you, Brett, for requesting this feature, adding a pull request, and getting this shipped!