Skip to content

PBM. Avoid dropping data in the middle of PITR for selective restore, detailed test for this case T281 #201

PBM. Avoid dropping data in the middle of PITR for selective restore, detailed test for this case T281

PBM. Avoid dropping data in the middle of PITR for selective restore, detailed test for this case T281 #201

GitHub Actions / JUnit Test Report failed Dec 11, 2024 in 0s

16 tests run, 15 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 119 in pbm-functional/pytest/test_azurite.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_azurite.test_incremental

AssertionError
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f4dbe07fed0>

    @pytest.mark.timeout(300, func_only=True)
    def test_incremental(start_cluster, cluster):
>       cluster.check_pbm_status()

test_azurite.py:119: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <cluster.Cluster object at 0x7f4dbe07fed0>

    def check_pbm_status(self):
        n = testinfra.get_host("docker://" + self.pbm_cli)
        result = n.check_output('pbm status --out=json')
        parsed_result = json.loads(result)
        Cluster.log("PBM status: \n" + str(parsed_result['cluster']))
        #Cluster.log(json.dumps(parsed_result['cluster'], indent=4))
        hosts = []
        for replicaset in parsed_result['cluster']:
            for host in replicaset['nodes']:
                if host['role'] != "A":
                    hosts.append(host)
>                   assert host['ok'] == True
E                   AssertionError

cluster.py:737: AssertionError