Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
W-A-James committed Apr 5, 2024
1 parent b15fbe7 commit 86f8141
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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 @@ -16,10 +16,10 @@ tests:
entities:
- client:
id: &client client
uriOptions:
directConnection: true
observeEvents:
- topologyDescriptionChangedEvent
# ensure the topology has been fully discovered before closing the client.
# expected events are initial server discovery and 3 server connect events.
- name: waitForEvent
object: testRunner
arguments:
Expand All @@ -32,10 +32,9 @@ tests:
eventType: sdam
ignoreExtraEvents: true
events:
- topologyOpeningEvent: {}
- topologyDescriptionChangedEvent:
previousDescription:
type: "Unknown"
newDescription:
type: "ReplicaSetWithPrimary"
type: "Single"

0 comments on commit 86f8141

Please sign in to comment.