Skip to content

Commit a954df7

Browse files
committed
Remove RS
1 parent 6e5b59b commit a954df7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,13 @@ jobs:
5656
done
5757
sudo docker exec --tty mongodb $MONGOSH_BIN 127.0.0.1:27017 --eval "rs.initiate({\"_id\":\"rs\",\"members\":[{\"_id\":0,\"host\":\"127.0.0.1:27017\" }]})"
5858
59-
- name: "Create MongoDB Atlas Local Cluster"
59+
- name: "Create MongoDB Atlas Local"
6060
if: ${{ matrix.mongodb == 'Atlas' }}
6161
run: |
62-
docker run --name mongodb -p 27017:27017 -e MONGO_INITDB_DATABASE=unittest --detach mongodb/mongodb-atlas-local:latest mongod --replSet rs --setParameter transactionLifetimeLimitSeconds=5
62+
docker run --name mongodb -p 27017:27017 -e MONGO_INITDB_DATABASE=unittest --detach mongodb/mongodb-atlas-local:latest
6363
until docker exec --tty mongodb mongosh 127.0.0.1:27017 --eval "db.runCommand({ ping: 1 })"; do
6464
sleep 1
6565
done
66-
sudo docker exec --tty mongodb mongosh 127.0.0.1:27017 --eval "rs.initiate({\"_id\":\"rs\",\"members\":[{\"_id\":0,\"host\":\"127.0.0.1:27017\" }]})"
6766
6867
- name: "Show MongoDB server status"
6968
run: |

0 commit comments

Comments
 (0)