Skip to content

PBM-1043 Oplog slicer should survive if either mongo or pbm-agent is unavailable #137

PBM-1043 Oplog slicer should survive if either mongo or pbm-agent is unavailable

PBM-1043 Oplog slicer should survive if either mongo or pbm-agent is unavailable #137

GitHub Actions / JUnit Test Report failed Jul 16, 2024 in 0s

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

Annotations

Check failure on line 61 in pbm-functional/pytest/test_PBM-1043.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_PBM-1043.test_logical_PBM_T255

assert False
 +  where False = <bound method Cluster.check_pitr of <cluster.Cluster object at 0x7f4673c87010>>()
 +    where <bound method Cluster.check_pitr of <cluster.Cluster object at 0x7f4673c87010>> = <cluster.Cluster object at 0x7f4673c87010>.check_pitr
Raw output
start_cluster = True, cluster = <cluster.Cluster object at 0x7f4673c87010>

    @pytest.mark.timeout(600,func_only=True)
    def test_logical_PBM_T255(start_cluster,cluster):
        def insert_docs():
            client=pymongo.MongoClient(cluster.connection)
            for i in range(200):
                client['test']['test'].insert_one({"doc":i})
                time.sleep(1)
    
        cluster.make_backup("logical")
        cluster.exec_pbm_cli("config --file=/etc/pbm-1043.conf")
        time.sleep(30)
        Cluster.log("Check if PITR is running")
>       assert cluster.check_pitr()
E       assert False
E        +  where False = <bound method Cluster.check_pitr of <cluster.Cluster object at 0x7f4673c87010>>()
E        +    where <bound method Cluster.check_pitr of <cluster.Cluster object at 0x7f4673c87010>> = <cluster.Cluster object at 0x7f4673c87010>.check_pitr

test_PBM-1043.py:61: AssertionError