Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBM-1389 disallow performing selective backup #226

Merged
merged 1 commit into from
Sep 19, 2024

PBM-1389 disallow performing selective backup

bc27086
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

PBM-1389 disallow performing selective backup #226

PBM-1389 disallow performing selective backup
bc27086
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Sep 19, 2024 in 0s

29 tests run, 28 passed, 0 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:21:17Z'....
  Waiting for '2024-09-19T13:21:17Z' backup.......................... done
  Backup '2024-09-19T13:21:17Z' to remote store 'http://nginx-minio:21114/bcp/pbme2etest'
  
assert 0 != 0
 +  where 0 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7ff585117050>, exit_status=0, command=b'pbm ........... done\nBackup '2024-09-19T13:21:17Z' to remote store 'http://nginx-minio:21114/bcp/pbme2etest'\n", _stderr=b'').rc
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7ff5864b8910>

    @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:21:17Z'....
E         Waiting for '2024-09-19T13:21:17Z' backup.......................... done
E         Backup '2024-09-19T13:21:17Z' 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 0x7ff585117050>, exit_status=0, command=b'pbm ........... done\nBackup '2024-09-19T13:21:17Z' to remote store 'http://nginx-minio:21114/bcp/pbme2etest'\n", _stderr=b'').rc

test_PBM-1114.py:56: AssertionError