Skip to content

Commit

Permalink
Fix wording and remove unnecessary config
Browse files Browse the repository at this point in the history
  • Loading branch information
W-A-James committed Jan 9, 2024
1 parent 434acab commit 9ec5ddf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Events that MUST be published (with their conditions) are as follows.
/**
* Fired when the server monitor's ``hello`` or legacy hello command is started - immediately before
* the ``hello`` or legacy hello command is serialized into raw BSON and written to the socket.
* When the monitor is just starting, the first instance of this event is fired just after the
* When the monitor is creating a new monitoring connection, this event is fired just after the
* socket is opened.
*/
interface ServerHeartbeatStartedEvent {
Expand Down
10 changes: 2 additions & 8 deletions source/server-discovery-and-monitoring/tests/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,15 +284,9 @@ Heartbeat Tests

#. Attempt to connect client to previously created TCP server, catching the error when the client fails to connect

#. Assert that the event array has a length of 4
#. Assert that the event array has the following contents in the same order::

#. Assert that the first event is the ``client connected`` event

#. Assert that the second event is the ``serverHeartbeatStartedEvent``

#. Assert that the third event is the ``client hello received`` event

#. Assert that the fourth event is the ``serverHeartbeatFailedEvent``
``['client connected', 'serverHeartbeatStartedEvent', 'client hello received', 'serverHeartbeatFailedEvent']``

.. Section for links.
Expand Down

0 comments on commit 9ec5ddf

Please sign in to comment.