-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
test_list_databases fails sometimes because the sizeOnDisk field changes between calls:
[2022/11/17 18:45:38.664] FAIL [0.019s]: test_list_databases (test_client.TestClient) [2022/11/17 18:45:38.664] ---------------------------------------------------------------------- [2022/11/17 18:45:38.664] Traceback (most recent call last): [2022/11/17 18:45:38.664] File "/data/mci/b65dcc7e57783a6238aa31def72f14c8/src/test/test_client.py", line 794, in test_list_databases [2022/11/17 18:45:38.664] self.assertEqual(helper_docs, cmd_docs) [2022/11/17 18:45:38.664] AssertionError: Lists differ: [{'na[151 chars]k': 151552, 'empty': False}, {'name': 'databas[340 chars]lse}] != [{'na[151 chars]k': 118784, 'empty': False}, {'name': 'databas[339 chars]lse}] [2022/11/17 18:45:38.664] First differing element 2: [2022/11/17 18:45:38.664] {'name': 'config', 'sizeOnDisk': 151552, 'empty': False} [2022/11/17 18:45:38.664] {'name': 'config', 'sizeOnDisk': 118784, 'empty': False} [2022/11/17 18:45:38.664] Diff is 943 characters long. Set self.maxDiff to None to see it.
- is related to
-
PYTHON-3747 [Failure] test_client.TestClient.test_list_databases
- Closed
- related to
-
PYTHON-1532 Test Failure - test_client.TestClient.test_list_databases
- Closed