From bdf1ab8efee4b5d4b95e42577470a9bc4a4b5803 Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Thu, 27 Jul 2023 09:47:05 -0600 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Kevin Albertson --- source/index-management/index-management.rst | 4 ++-- source/index-management/tests/README.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/index-management/index-management.rst b/source/index-management/index-management.rst index b3bf0a79c2..53b22c71fe 100644 --- a/source/index-management/index-management.rst +++ b/source/index-management/index-management.rst @@ -416,7 +416,7 @@ Index View API * or language/implementation equivalent. * * If drivers are unable to make the IndexView iterable, they MAY opt to provide the options for - * listing search indexes via the `list` method instead of the `Collection.listSearchIndexes` method. + * listing search indexes via the `list` method instead of the `Collection.indexes` method. */ list(): Cursor; @@ -1030,7 +1030,7 @@ Index View API for Search Indexes * or language/implementation equivalent. * * If drivers are unable to make the SearchIndexView iterable, they MAY opt to provide the options for - * listing search indexes via the `list` method instead of the `Collection.listSearchIndexes` method. + * listing search indexes via the `list` method instead of the `Collection.searchIndexes` method. */ list(): Cursor; diff --git a/source/index-management/tests/README.rst b/source/index-management/tests/README.rst index 767c4d79c7..5d7eee2107 100644 --- a/source/index-management/tests/README.rst +++ b/source/index-management/tests/README.rst @@ -70,7 +70,7 @@ ObjectId (``new ObjectId().toHexString()`` in Node). Setup ~~~~~ -These tests must run against an Atlas cluster with a 7.0+ server. Tools are available drivers-evergreen-tools which can setup and teardown +These tests must run against an Atlas cluster with a 7.0+ server. `Scripts are available `_ in drivers-evergreen-tools which can setup and teardown Atlas clusters. To ensure that the Atlas cluster is cleaned up after each CI run, drivers should configure evergreen to run these tests as a part of a task group. Be sure that the cluster gets torn down!