From 78f8c17a60ef311b641896da4a61d55d29f56c36 Mon Sep 17 00:00:00 2001 From: Matúš Honěk Date: Apr 05 2019 12:48:08 +0000 Subject: Fix typo from: Issue 49915 - Add regression test Fixes commit 0319ec02a. Relates https://pagure.io/389-ds-base/pull-request/50320 --- diff --git a/dirsrvtests/tests/suites/replication/regression_test.py b/dirsrvtests/tests/suites/replication/regression_test.py index 747d358..d7acd05 100644 --- a/dirsrvtests/tests/suites/replication/regression_test.py +++ b/dirsrvtests/tests/suites/replication/regression_test.py @@ -622,18 +622,18 @@ def test_online_reinit_may_hang(topo_with_sigkill): 3. Import should be successful 4. Server should not hang and consume 100% CPU """ - M1 = topo_with_sigkill.ms["master1"] - M2 = topo_with_sigkill.ms["master2"] + M1 = topo_with_sigkill.ms["master1"] + M2 = topo_with_sigkill.ms["master2"] M1.stop() ldif_file = '/tmp/master1.ldif' - M1.db2ldif(bename=DEFAULT_BENAME, suffixes=[DEFAULT_SUFFIX], - excludeSuffixes=None, repl_data=True, - outputfile=ldif_file, encrypt=False) + M1.db2ldif(bename=DEFAULT_BENAME, suffixes=[DEFAULT_SUFFIX], + excludeSuffixes=None, repl_data=True, + outputfile=ldif_file, encrypt=False) _move_ruv(ldif_file) M1.ldif2db(DEFAULT_BENAME, None, None, None, ldif_file) M1.start() # After this server may hang - agmt = Agreements(M1).list()[0]: + agmt = Agreements(M1).list()[0] agmt.begin_reinit() (done, error) = agmt.wait_reinit() assert done is True