Skip to content

PBM-1389 disallow performing selective backup #175

PBM-1389 disallow performing selective backup

PBM-1389 disallow performing selective backup #175

GitHub Actions / JUnit Test Report failed Sep 19, 2024 in 0s

29 tests run, 22 passed, 6 skipped, 1 failed.

Annotations

Check failure on line 56 in pbm-functional/pytest/test_PBM-1114.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1114.test_logical_PBM_T266

AssertionError: Starting backup '2024-09-19T13:20:18Z'....
  Waiting for '2024-09-19T13:20:18Z' backup.......................... done
  Backup '2024-09-19T13:20:18Z' to remote store 'http://nginx-minio:21114/bcp/pbme2etest'
  
assert 0 != 0
 +  where 0 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f8beec49d90>, exit_status=0, command=b'pbm ........... done\nBackup '2024-09-19T13:20:18Z' to remote store 'http://nginx-minio:21114/bcp/pbme2etest'\n", _stderr=b'').rc
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f8beecc9890>

    @pytest.mark.timeout(300, func_only=True)
    def test_logical_PBM_T266(start_cluster, cluster):
        cluster.check_pbm_status()
        pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents)
        result = cluster.exec_pbm_cli("backup --wait")
>       assert result.rc != 0, result.stdout + result.stderr
E       AssertionError: Starting backup '2024-09-19T13:20:18Z'....
E         Waiting for '2024-09-19T13:20:18Z' backup.......................... done
E         Backup '2024-09-19T13:20:18Z' to remote store 'http://nginx-minio:21114/bcp/pbme2etest'
E         
E       assert 0 != 0
E        +  where 0 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f8beec49d90>, exit_status=0, command=b'pbm ........... done\nBackup '2024-09-19T13:20:18Z' to remote store 'http://nginx-minio:21114/bcp/pbme2etest'\n", _stderr=b'').rc

test_PBM-1114.py:56: AssertionError