File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,10 @@ jobs:
59
59
- name : " Create MongoDB Atlas Local Cluster"
60
60
if : ${{ matrix.mongodb == 'Atlas' }}
61
61
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
63
63
until docker exec --tty mongodb mongosh 127.0.0.1:27017 --eval "db.runCommand({ ping: 1 })"; do
64
64
sleep 1
65
65
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\" }]})"
67
66
68
67
- name : " Show MongoDB server status"
69
68
run : |
You can’t perform that action at this time.
0 commit comments