From cb6b5592873d4f4df114e156b5d84dbe185bd7bd Mon Sep 17 00:00:00 2001 From: Simon Pichugin Date: Fri, 10 Jan 2025 14:33:24 -0800 Subject: [PATCH] Update log_analysis_report_test.py --- .../suites/replication/log_analysis_report_test.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/dirsrvtests/tests/suites/replication/log_analysis_report_test.py b/dirsrvtests/tests/suites/replication/log_analysis_report_test.py index bf2388e8a..894e504b6 100644 --- a/dirsrvtests/tests/suites/replication/log_analysis_report_test.py +++ b/dirsrvtests/tests/suites/replication/log_analysis_report_test.py @@ -261,6 +261,7 @@ def test_multi_suffix_replication_analysis(topo_m4): # Setup additional backends and replication for all suppliers for suffix in [SUFFIX_2, SUFFIX_3]: # DEFAULT_SUFFIX already exists + repl = ReplicationManager(suffix) for supplier in suppliers: # Create backend props = { @@ -272,26 +273,17 @@ def test_multi_suffix_replication_analysis(topo_m4): be.create_sample_entries('001004002') # Enable replication - repl = ReplicationManager(suffix) if supplier == suppliers[0]: # supplier1 repl.create_first_supplier(supplier) else: repl.join_supplier(suppliers[0], supplier) # Create full mesh topology for this suffix - repl = ReplicationManager(suffix) for i, supplier_i in enumerate(suppliers): for j, supplier_j in enumerate(suppliers): if i != j: # Don't create agreement with self repl.ensure_agreement(supplier_i, supplier_j) - # Also ensure full mesh for DEFAULT_SUFFIX - repl = ReplicationManager(DEFAULT_SUFFIX) - for i, supplier_i in enumerate(suppliers): - for j, supplier_j in enumerate(suppliers): - if i != j: # Don't create agreement with self - repl.ensure_agreement(supplier_i, supplier_j) - # Generate test data for each suffix for suffix in all_suffixes: for i in range(20): # 20 users per suffix