Skip to content

Commit d951531

Browse files
committed
Remove RS
1 parent 6e5b59b commit d951531

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,10 @@ jobs:
5959
- name: "Create MongoDB Atlas Local Cluster"
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)