Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3951

[Build Failure] test.test_index_management.TestIndexManagementListSearchIndexes

    • Type: Icon: Build Failure Build Failure
    • Resolution: Gone away
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      test.test_index_management.TestIndexManagementListSearchIndexes.test_aggregation_cursor_options_are_supported and two related tests are failing:

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_rhel8_test_ssl__platform~rhel8_auth_ssl~auth_ssl_python_version~3.10_coverage~coverage_test_latest_replica_set_patch_f2867a9abf277e664b46d3d30dd380e6ae77c9d4_64f7640a0ae606f64750cd48_23_09_05_17_23_23?execution=0&sortBy=STATUS&sortDir=ASC

       

       [2023/09/05 17:38:08.684] FAILURE: AssertionError: Excepted error {'isError': True, 'errorContains': 'Search index commands are only supported with Atlas'} but "listSearchIndexes" succeeded: [] ()
       [2023/09/05 17:38:08.684] self = <test.test_index_management.TestIndexManagementListSearchIndexes testMethod=test_aggregation_cursor_options_are_supported>
       [2023/09/05 17:38:08.684]     def test_case(self):
       [2023/09/05 17:38:08.684] >       self.run_scenario(spec)
       [2023/09/05 17:38:08.684] test/unified_format.py:1705:
       [2023/09/05 17:38:08.684] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
       [2023/09/05 17:38:08.684] test/unified_format.py:1657: in run_scenario
       [2023/09/05 17:38:08.684]     self._run_scenario(spec, uri)
       [2023/09/05 17:38:08.684] test/unified_format.py:1682: in _run_scenario
       [2023/09/05 17:38:08.684]     self.run_operations(spec["operations"])
       [2023/09/05 17:38:08.684] test/unified_format.py:1591: in run_operations
       [2023/09/05 17:38:08.684]     self.run_entity_operation(op)
       [2023/09/05 17:38:08.684] test/unified_format.py:1345: in run_entity_operation
       [2023/09/05 17:38:08.684]     self.fail(f'Excepted error {expect_error} but "{opname}" succeeded: {result}')
       [2023/09/05 17:38:08.684] E   AssertionError: Excepted error {'isError': True, 'errorContains': 'Search index commands are only supported with Atlas'} but "listSearchIndexes" succeeded: []
       

            Assignee:
            jib.adegunloye@mongodb.com Jib Adegunloye
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: