Skip to content

Commit

Permalink
qwe
Browse files Browse the repository at this point in the history
  • Loading branch information
droideck committed Jan 31, 2024
1 parent 433e57c commit 587e621
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dirsrvtests/tests/suites/schema/schema_standard_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ def trigger_update(topology, user_rdn, num):


def trigger_schema_push(topology, user_rdn, num):
"""Triggers a schema push from the supplier to the consumer or hub."""

m1 = topology.ms["supplier1"]
m2 = topology.ms["supplier2"]

Expand All @@ -57,9 +55,9 @@ def trigger_schema_push(topology, user_rdn, num):
assert (len(agreements) == 1)
ra = agreements[0]
trigger_update(topology, user_rdn, num)
m1.agreement.pause(ra.dn)
m1.agreement.resume(ra.dn)
trigger_update(topology, user_rdn, num)
#m1.agreement.pause(ra.dn)
#m1.agreement.resume(ra.dn)
#trigger_update(topology, user_rdn, num)


@pytest.fixture(scope="function")
Expand Down Expand Up @@ -98,6 +96,7 @@ def test_custom_schema_rewrites_standard_schema(topology, schema_replication_ini
assert 'caseIgnoreIA5Match' in schema_m1.query_attributetype('surname')[0]
assert 'caseIgnoreIA5Match' in schema_m2.query_attributetype('surname')[0]

m1.restart()
m2.restart()

assert 'caseIgnoreIA5Match' in schema_m1.query_attributetype('surname')[0]
Expand Down

0 comments on commit 587e621

Please sign in to comment.