Skip to content

Commit

Permalink
Revert "Simplify replica set creation in CI"
Browse files Browse the repository at this point in the history
This partially reverts commit 203160e. The simplified call unfortunately breaks tests.
  • Loading branch information
alcaeus committed Nov 22, 2022
1 parent a6aa3cc commit 2a82a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
until docker exec --tty mongodb mongo 127.0.0.1:27017 --eval "db.runCommand({ ping: 1 })"; do
sleep 1
done
sudo docker exec --tty mongodb mongo 127.0.0.1:27017 --eval "rs.initiate()"
sudo docker exec --tty mongodb mongo 127.0.0.1:27017 --eval "rs.initiate({\"_id\":\"rs\",\"members\":[{\"_id\":0,\"host\":\"127.0.0.1:27017\" }]})"
- name: "Installing php"
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit 2a82a54

Please sign in to comment.