selftest: fix flapping samba-tool drs showrepl test
authorRob van der Linde <rob@catalyst.net.nz>
Thu, 23 Feb 2023 03:56:30 +0000 (16:56 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 23 Feb 2023 22:32:32 +0000 (22:32 +0000)
commit3687ab318a9553883d8c0d1214e2d49b83ec91ba
treead4b9a908ffc827cca3635296bac0596e545321b
parent1368e359b2a75b6b683aff274b2b2084f3cd469b
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>
source4/selftest/tests.py