PBM-1367 check sharded timeseries #192
Merged
GitHub Actions / JUnit Test Report
failed
Aug 13, 2024 in 0s
28 tests run, 19 passed, 8 skipped, 1 failed.
Annotations
Check failure on line 87 in pbm-functional/pytest/test_timeseries.py
github-actions / JUnit Test Report
test_timeseries.test_logical_PBM_T261
AssertionError: Starting backup '2024-08-13T09:57:45Z'....
Waiting for '2024-08-13T09:57:45Z' backup................... done
assert 0 != 0
+ where 0 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f46d6797ed0>, exit_status=0, command=b'pbm ...backup '2024-08-13T09:57:45Z'....\nWaiting for '2024-08-13T09:57:45Z' backup................... done\n\n", _stderr=b'').rc
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f46d674db10>
@pytest.mark.timeout(600,func_only=True)
def test_logical_PBM_T261(start_cluster,cluster):
cluster.check_pbm_status()
assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test1").get("sharded", False)
assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test2").get("sharded", False)
result=cluster.exec_pbm_cli('backup -t logical --wait')
> assert result.rc != 0, result.stdout
E AssertionError: Starting backup '2024-08-13T09:57:45Z'....
E Waiting for '2024-08-13T09:57:45Z' backup................... done
E
E
E assert 0 != 0
E + where 0 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f46d6797ed0>, exit_status=0, command=b'pbm ...backup '2024-08-13T09:57:45Z'....\nWaiting for '2024-08-13T09:57:45Z' backup................... done\n\n", _stderr=b'').rc
test_timeseries.py:87: AssertionError
Loading