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

[Failure] test_client.TestClient.test_list_databases

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.6
    • Affects Version/s: None
    • Component/s: None

      https://spruce.mongodb.com/task/mongo_python_driver_tests_python_version_green_framework_rhel84__platform~rhel84_auth_ssl~noauth_nossl_python_version~3.7_green_framework~eventlet_test_latest_sharded_cluster_601d1ec3a13434761bfd9997cc8ee6633c3d9f93_23_06_15_19_54_29/tests?execution=0&sortBy=STATUS&sortDir=ASC

      [2023/06/16 15:27:25.795] FAILURE: Lists differ: [{'na[206 chars]g': 778240}}, {'name': 'database0', 'empty': F[309 chars]92}}] != [{'na[206 chars]g': 765952}}, {'name': 'database0', 'empty': F[309 chars]92}}]
      [2023/06/16 15:27:25.795] First differing element 2:
      [2023/06/16 15:27:25.795] {'nam[13 chars] 'empty': False, 'shards': {'sh01': 1527808, 'config': 778240}}
      [2023/06/16 15:27:25.795] {'nam[13 chars] 'empty': False, 'shards': {'sh01': 1527808, 'config': 765952}}
      [2023/06/16 15:27:25.795] Diff is 720 characters long. Set self.maxDiff to None to see it. (AssertionError)
      [2023/06/16 15:27:25.795] Traceback (most recent call last):
      [2023/06/16 15:27:25.795]   File "/data/mci/7331b5599975d4be0a53a009d5ea34ad/src/test/test_client.py", line 798, in test_list_databases
      [2023/06/16 15:27:25.795]     self.assertEqual(helper_docs, cmd_docs)
      [2023/06/16 15:27:25.795] AssertionError: Lists differ: [{'na[206 chars]g': 778240}}, {'name': 'database0', 'empty': F[309 chars]92}}] != [{'na[206 chars]g': 765952}}, {'name': 'database0', 'empty': F[309 chars]92}}]
      [2023/06/16 15:27:25.795] First differing element 2:
      [2023/06/16 15:27:25.795] {'nam[13 chars] 'empty': False, 'shards': {'sh01': 1527808, 'config': 778240}}
      [2023/06/16 15:27:25.795] {'nam[13 chars] 'empty': False, 'shards': {'sh01': 1527808, 'config': 765952}}
      [2023/06/16 15:27:25.795] Diff is 720 characters long. Set self.maxDiff to None to see it.
      

       

       

       

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: