File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
source/atlas-data-lake-testing/tests Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,11 @@ Atlas Data Lake.
46
46
a CommandStartedEvent and CommandSucceededEvent for the ``killCursors ``
47
47
command. Assert that the cursor ID and target namespace in the outgoing
48
48
command match the values from the ``find `` command's CommandSucceededEvent.
49
- Assert that the ``killCursors `` CommandSucceededEvent indicates that the
50
- expected cursor was killed in the ``cursorsKilled `` field.
49
+ When matching the namespace, note that the ``killCursors `` field will contain
50
+ the collection name and the database may be inferred from either the ``$db ``
51
+ field or accessed via the CommandStartedEvent directly. Finally, assert that
52
+ the ``killCursors `` CommandSucceededEvent indicates that the expected cursor
53
+ was killed in the ``cursorsKilled `` field.
51
54
52
55
Note: this test assumes that drivers only issue a ``killCursors `` command
53
56
internally when destroying a cursor that may still exist on the server. If
You can’t perform that action at this time.
0 commit comments