Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
W-A-James committed Mar 29, 2024
1 parent fedf41a commit 04f9240
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 42 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,16 @@ tests:
client: *client
event:
topologyDescriptionChangedEvent: {}
count: 4
- name: close
object: *client
count: 1
expectEvents:
- client: *client
eventType: sdam
ignoreExtraEvents: false
ignoreExtraEvents: true
events:
- topologyOpeningEvent: {}
- topologyDescriptionChangedEvent: {} # unknown -> replset no primary
- topologyDescriptionChangedEvent: {} # server connected
- topologyDescriptionChangedEvent: {} # server connected
- topologyDescriptionChangedEvent: {} # server connected
- topologyDescriptionChangedEvent: # replicaset -> unknown
previousDescription:
type: "ReplicaSetWithPrimary"
newDescription:
type: "Unknown"
- topologyClosedEvent: {}
- topologyDescriptionChangedEvent:
previousDescription:
type: "Unknown"
newDescription:
type: "ReplicaSetWithPrimary"

0 comments on commit 04f9240

Please sign in to comment.