From 98180d7df29772eab5cc20bb79e1b43bf395431a Mon Sep 17 00:00:00 2001 From: Oleksandr Havryliak <88387200+olexandr-havryliak@users.noreply.github.com> Date: Wed, 3 Apr 2024 17:05:19 +0300 Subject: [PATCH] PBM move reports to zephyr cloud (#135) * PBM move reports to zephyr cloud * Removed pytest.ini --- pbm-functional/pytest/Dockerfile-testinfra | 2 -- pbm-functional/pytest/pytest.ini | 5 ----- pbm-functional/pytest/test_PBM-1058.py | 3 +-- pbm-functional/pytest/test_PBM-1058_upgrade.py | 3 +-- pbm-functional/pytest/test_PBM-1090.py | 3 +-- pbm-functional/pytest/test_PBM-1155.py | 9 +++------ pbm-functional/pytest/test_PBM-1171.py | 3 +-- pbm-functional/pytest/test_PBM-1223.py | 3 +-- pbm-functional/pytest/test_PBM-773.py | 3 +-- pbm-functional/pytest/test_PBM-979.py | 12 ++++-------- pbm-functional/pytest/test_fresh_sharded.py | 12 ++++-------- pbm-functional/pytest/test_kerberos.py | 3 +-- pbm-functional/pytest/test_kmip.py | 6 ++---- pbm-functional/pytest/test_ldap.py | 3 +-- pbm-functional/pytest/test_remap_sharded.py | 9 +++------ pbm-functional/pytest/test_sharded.py | 15 +++++---------- pbm-functional/pytest/test_vault.py | 9 +++------ pbm-functional/pytest/test_x509.py | 3 +-- 18 files changed, 33 insertions(+), 73 deletions(-) delete mode 100644 pbm-functional/pytest/pytest.ini diff --git a/pbm-functional/pytest/Dockerfile-testinfra b/pbm-functional/pytest/Dockerfile-testinfra index 3ed685dc..acba1179 100644 --- a/pbm-functional/pytest/Dockerfile-testinfra +++ b/pbm-functional/pytest/Dockerfile-testinfra @@ -3,7 +3,5 @@ RUN apk add --no-cache docker python3 py-pip bash git RUN pip install --no-cache-dir --break-system-packages docker && \ pip install --no-cache-dir --break-system-packages pytest-testinfra && \ pip install --no-cache-dir --break-system-packages pytest-timeout && \ - pip install --no-cache-dir --break-system-packages adaptavist==2.3.1 && \ - pip install --no-cache-dir --break-system-packages pytest-adaptavist && \ pip install --no-cache-dir --break-system-packages pymongo WORKDIR /test diff --git a/pbm-functional/pytest/pytest.ini b/pbm-functional/pytest/pytest.ini deleted file mode 100644 index 05a78c5b..00000000 --- a/pbm-functional/pytest/pytest.ini +++ /dev/null @@ -1,5 +0,0 @@ -[pytest] -project_key=PBM -restrict_user=root -append_to_cycle=1 - diff --git a/pbm-functional/pytest/test_PBM-1058.py b/pbm-functional/pytest/test_PBM-1058.py index 7331f122..d55ea957 100644 --- a/pbm-functional/pytest/test_PBM-1058.py +++ b/pbm-functional/pytest/test_PBM-1058.py @@ -40,9 +40,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T205", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_physical(start_cluster,cluster): +def test_physical_PBM_T205(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("physical") diff --git a/pbm-functional/pytest/test_PBM-1058_upgrade.py b/pbm-functional/pytest/test_PBM-1058_upgrade.py index dc3a0310..a3613ba4 100644 --- a/pbm-functional/pytest/test_PBM-1058_upgrade.py +++ b/pbm-functional/pytest/test_PBM-1058_upgrade.py @@ -48,9 +48,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T235", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_physical(start_cluster,cluster): +def test_physical_PBM_T235(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("physical") diff --git a/pbm-functional/pytest/test_PBM-1090.py b/pbm-functional/pytest/test_PBM-1090.py index 9bf9ef75..415b86ae 100644 --- a/pbm-functional/pytest/test_PBM-1090.py +++ b/pbm-functional/pytest/test_PBM-1090.py @@ -38,9 +38,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T204", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T204(start_cluster,cluster): cluster.check_pbm_status() client = pymongo.MongoClient(cluster.connection) diff --git a/pbm-functional/pytest/test_PBM-1155.py b/pbm-functional/pytest/test_PBM-1155.py index 89020c75..77fb08cf 100644 --- a/pbm-functional/pytest/test_PBM-1155.py +++ b/pbm-functional/pytest/test_PBM-1155.py @@ -77,9 +77,8 @@ def insert_data(db,collection): t4.join() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T246", test_step_key=1) @pytest.mark.timeout(6000, func_only=True) -def test_incremental_base(start_cluster,cluster): +def test_incremental_base_PBM_T246(start_cluster,cluster): cluster.check_pbm_status() time.sleep(10) for i in range(20): @@ -88,9 +87,8 @@ def test_incremental_base(start_cluster,cluster): Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T245", test_step_key=1) @pytest.mark.timeout(6000, func_only=True) -def test_incremental(start_cluster,cluster): +def test_incremental_PBM_T245(start_cluster,cluster): cluster.check_pbm_status() time.sleep(10) cluster.make_backup("incremental --base") @@ -106,9 +104,8 @@ def test_incremental(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test2").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T247", test_step_key=1) @pytest.mark.timeout(6000, func_only=True) -def test_physical(start_cluster,cluster): +def test_physical_PBM_T247(start_cluster,cluster): cluster.check_pbm_status() time.sleep(10) for i in range(20): diff --git a/pbm-functional/pytest/test_PBM-1171.py b/pbm-functional/pytest/test_PBM-1171.py index 89125d64..35ba6587 100644 --- a/pbm-functional/pytest/test_PBM-1171.py +++ b/pbm-functional/pytest/test_PBM-1171.py @@ -48,9 +48,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T248", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_physical_mixed_env(start_cluster,cluster): +def test_physical_mixed_env_PBM_T248(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) diff --git a/pbm-functional/pytest/test_PBM-1223.py b/pbm-functional/pytest/test_PBM-1223.py index d52feb43..b9613027 100644 --- a/pbm-functional/pytest/test_PBM-1223.py +++ b/pbm-functional/pytest/test_PBM-1223.py @@ -55,9 +55,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T249", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T249(start_cluster,cluster): cluster.check_pbm_status() client = pymongo.MongoClient(cluster.connection) db = client.test diff --git a/pbm-functional/pytest/test_PBM-773.py b/pbm-functional/pytest/test_PBM-773.py index cbc4804c..f23a772f 100644 --- a/pbm-functional/pytest/test_PBM-773.py +++ b/pbm-functional/pytest/test_PBM-773.py @@ -51,9 +51,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T221", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T221(start_cluster,cluster): cluster.check_pbm_status() cluster.make_backup("logical") cluster.enable_pitr() diff --git a/pbm-functional/pytest/test_PBM-979.py b/pbm-functional/pytest/test_PBM-979.py index a1cafea1..65d1b752 100644 --- a/pbm-functional/pytest/test_PBM-979.py +++ b/pbm-functional/pytest/test_PBM-979.py @@ -61,9 +61,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T233", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T233(start_cluster,cluster): time.sleep(5) # wait for delayed node cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) @@ -80,9 +79,8 @@ def test_logical(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"]["test"].count_documents({}) == len(documents) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T195", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_physical(start_cluster,cluster): +def test_physical_PBM_T195(start_cluster,cluster): time.sleep(5) # wait for delayed node cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) @@ -110,9 +108,8 @@ def test_physical(start_cluster,cluster): assert 'buildIndexes' not in member or member['buildIndexes'] == rs_config['members'][index]['buildIndexes'] Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T234", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_incremental(start_cluster,cluster): +def test_incremental_PBM_T234(start_cluster,cluster): time.sleep(5) cluster.check_pbm_status() init_backup=cluster.make_backup("incremental --base") @@ -142,9 +139,8 @@ def test_incremental(start_cluster,cluster): assert 'buildIndexes' not in member or member['buildIndexes'] == rs_config['members'][index]['buildIndexes'] Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T240", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_external(start_cluster,cluster): +def test_external_PBM_T240(start_cluster,cluster): time.sleep(5) cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) diff --git a/pbm-functional/pytest/test_fresh_sharded.py b/pbm-functional/pytest/test_fresh_sharded.py index 1bebd2a9..2d9ca4bd 100644 --- a/pbm-functional/pytest/test_fresh_sharded.py +++ b/pbm-functional/pytest/test_fresh_sharded.py @@ -65,9 +65,8 @@ def start_cluster(cluster,newcluster,request): cluster.destroy() newcluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T208", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_logical(start_cluster,cluster,newcluster): +def test_logical_PBM_T208(start_cluster,cluster,newcluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("logical") @@ -79,9 +78,8 @@ def test_logical(start_cluster,cluster,newcluster): assert pymongo.MongoClient(newcluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T207", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_physical(start_cluster,cluster,newcluster): +def test_physical_PBM_T207(start_cluster,cluster,newcluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("physical") @@ -93,9 +91,8 @@ def test_physical(start_cluster,cluster,newcluster): assert pymongo.MongoClient(newcluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T209", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_incremental(start_cluster,cluster,newcluster): +def test_incremental_PBM_T209(start_cluster,cluster,newcluster): cluster.check_pbm_status() cluster.make_backup("incremental --base") pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) @@ -108,9 +105,8 @@ def test_incremental(start_cluster,cluster,newcluster): assert pymongo.MongoClient(newcluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T238", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_external(start_cluster,cluster,newcluster): +def test_external_PBM_T238(start_cluster,cluster,newcluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup = cluster.external_backup_start() diff --git a/pbm-functional/pytest/test_kerberos.py b/pbm-functional/pytest/test_kerberos.py index 990e152f..2191a0ca 100644 --- a/pbm-functional/pytest/test_kerberos.py +++ b/pbm-functional/pytest/test_kerberos.py @@ -62,9 +62,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T202", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T202(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("logical") diff --git a/pbm-functional/pytest/test_kmip.py b/pbm-functional/pytest/test_kmip.py index 9dd97006..d9b6df31 100644 --- a/pbm-functional/pytest/test_kmip.py +++ b/pbm-functional/pytest/test_kmip.py @@ -35,9 +35,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T197", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_physical(start_cluster,cluster): +def test_physical_PBM_T197(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("physical") @@ -47,9 +46,8 @@ def test_physical(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"]["test"].count_documents({}) == len(documents) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T201", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_incremental(start_cluster,cluster): +def test_incremental_PBM_T201(start_cluster,cluster): cluster.check_pbm_status() cluster.make_backup("incremental --base") pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) diff --git a/pbm-functional/pytest/test_ldap.py b/pbm-functional/pytest/test_ldap.py index 217fa0ac..06e19cb8 100644 --- a/pbm-functional/pytest/test_ldap.py +++ b/pbm-functional/pytest/test_ldap.py @@ -50,9 +50,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T203", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T203(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("logical") diff --git a/pbm-functional/pytest/test_remap_sharded.py b/pbm-functional/pytest/test_remap_sharded.py index f053e405..fbb58b25 100644 --- a/pbm-functional/pytest/test_remap_sharded.py +++ b/pbm-functional/pytest/test_remap_sharded.py @@ -63,9 +63,8 @@ def start_cluster(cluster,newcluster,request): cluster.destroy() newcluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T211", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_logical(start_cluster,cluster,newcluster): +def test_logical_PBM_T211(start_cluster,cluster,newcluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("logical") @@ -78,9 +77,8 @@ def test_logical(start_cluster,cluster,newcluster): assert pymongo.MongoClient(newcluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T242", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_physical(start_cluster,cluster,newcluster): +def test_physical_PBM_T242(start_cluster,cluster,newcluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("physical") @@ -92,9 +90,8 @@ def test_physical(start_cluster,cluster,newcluster): assert pymongo.MongoClient(newcluster.connection)["test"]["test"].count_documents({}) == len(documents) assert pymongo.MongoClient(newcluster.connection)["test"].command("collstats", "test").get("sharded", False) -@pytest.mark.testcase(test_case_key="T243", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_incremental(start_cluster,cluster,newcluster): +def test_incremental_PBM_T243(start_cluster,cluster,newcluster): cluster.check_pbm_status() cluster.make_backup("incremental --base") pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) diff --git a/pbm-functional/pytest/test_sharded.py b/pbm-functional/pytest/test_sharded.py index 965450e4..8709c6f8 100644 --- a/pbm-functional/pytest/test_sharded.py +++ b/pbm-functional/pytest/test_sharded.py @@ -50,9 +50,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T218", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T218(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) pymongo.MongoClient(cluster.connection)["test"]["test1"].insert_many(documents) @@ -74,9 +73,8 @@ def test_logical(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T194", test_step_key=1) @pytest.mark.timeout(600, func_only=True) -def test_logical_pitr(start_cluster,cluster): +def test_logical_pitr_PBM_T194(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup_l1=cluster.make_backup("logical") @@ -115,9 +113,8 @@ def test_physical(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T244", test_step_key=1) @pytest.mark.timeout(600, func_only=True) -def test_physical_pitr(start_cluster,cluster): +def test_physical_pitr_PBM_T244(start_cluster,cluster): cluster.check_pbm_status() cluster.make_backup("logical") cluster.enable_pitr(pitr_extra_args="--set pitr.oplogSpanMin=0.5") @@ -153,9 +150,8 @@ def test_incremental(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T236", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_external_meta(start_cluster,cluster): +def test_external_meta_PBM_T236(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup = cluster.external_backup_start() @@ -171,9 +167,8 @@ def test_external_meta(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"].command("collstats", "test").get("sharded", False) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T237", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_external_nometa(start_cluster,cluster): +def test_external_nometa_PBM_T237(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup = cluster.external_backup_start() diff --git a/pbm-functional/pytest/test_vault.py b/pbm-functional/pytest/test_vault.py index 577c08d8..d4df52f0 100644 --- a/pbm-functional/pytest/test_vault.py +++ b/pbm-functional/pytest/test_vault.py @@ -37,9 +37,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T195", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_physical(start_cluster,cluster): +def test_physical_PBM_T195(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("physical") @@ -49,9 +48,8 @@ def test_physical(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"]["test"].count_documents({}) == len(documents) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T200", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_incremental(start_cluster,cluster): +def test_incremental_PBM_T200(start_cluster,cluster): cluster.check_pbm_status() cluster.make_backup("incremental --base") pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) @@ -62,9 +60,8 @@ def test_incremental(start_cluster,cluster): assert pymongo.MongoClient(cluster.connection)["test"]["test"].count_documents({}) == len(documents) Cluster.log("Finished successfully") -@pytest.mark.testcase(test_case_key="T239", test_step_key=1) @pytest.mark.timeout(600,func_only=True) -def test_external(start_cluster,cluster): +def test_external_PBM_T239(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup = cluster.external_backup_start() diff --git a/pbm-functional/pytest/test_x509.py b/pbm-functional/pytest/test_x509.py index a557d8a6..4e68a04b 100644 --- a/pbm-functional/pytest/test_x509.py +++ b/pbm-functional/pytest/test_x509.py @@ -48,9 +48,8 @@ def start_cluster(cluster,request): cluster.get_logs() cluster.destroy(cleanup_backups=True) -@pytest.mark.testcase(test_case_key="T199", test_step_key=1) @pytest.mark.timeout(300,func_only=True) -def test_logical(start_cluster,cluster): +def test_logical_PBM_T199(start_cluster,cluster): cluster.check_pbm_status() pymongo.MongoClient(cluster.connection)["test"]["test"].insert_many(documents) backup=cluster.make_backup("logical")