summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob van der Linde <rob@catalyst.net.nz>2023-02-23 16:56:30 +1300
committerJule Anger <janger@samba.org>2023-04-05 13:02:59 +0000
commit7e6dc45f7e61dfad2d56ff58f31664cefb96281c (patch)
tree1a3d1786f4166df35803363227e6d6fa9d608b70
parent5382bf6344cc417144136957cc5e04f6f0aa1fcd (diff)
downloadsamba-7e6dc45f7e61dfad2d56ff58f31664cefb96281c.tar.gz
selftest: fix flapping samba-tool drs showrepl test
Test should have been using "schema_pair_dc", it was picking this up from the variable env in the loop above it. However, it was hardcoded to use promoted_dc. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15316 Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> (cherry picked from commit 3687ab318a9553883d8c0d1214e2d49b83ec91ba) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Wed Apr 5 13:02:59 UTC 2023 on atb-devel-224
-rwxr-xr-xsource4/selftest/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 03500373f1d..9f303614613 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -1554,7 +1554,8 @@ planoldpythontestsuite(env, "getnc_schema",
# not the set of environments connected with ad_dc.
# This will show the replication state of ad_dc
-planoldpythontestsuite("promoted_dc:local", "samba_tool_drs_showrepl",
+env = "schema_pair_dc"
+planoldpythontestsuite("%s:local" % env, "samba_tool_drs_showrepl",
extra_path=[os.path.join(samba4srcdir, 'torture/drs/python')],
name="samba4.drs.samba_tool_drs_showrepl.python(%s)" % env,
environ={'DC1': '$DC_SERVER', 'DC2': '$SERVER'},