Skip to content

Commit

Permalink
Add replicaSet connection option to insert
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysmeister committed Oct 4, 2024
1 parent dafdeb7 commit c636a2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/targets/mongodb_shell/tasks/677.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
community.mongodb.mongodb_shell:
<<: *mongo_parameters
eval: 'db.test.insertOne({"foo": "bar"})'
connection_options:
- "replicaSet=issue_677"

- name: Test with a single string conn option
community.mongodb.mongodb_shell:
Expand Down

0 comments on commit c636a2b

Please sign in to comment.