Skip to content

Commit

Permalink
Update regression_m2c1_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
droideck committed Sep 1, 2024
1 parent ee85f8e commit d8e597a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dirsrvtests/tests/suites/replication/regression_m2c1_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
MAXAGE_ATTR = 'nsslapd-changelogmaxage'
MAXAGE_VALUE = '5'
TRIMINTERVAL = 'nsslapd-changelogtrim-interval'
TRIMINTERVAL_VALUE = '300'
TRIMINTERVAL_VALUE = '15'
MAX_USERS = 10

DEBUGGING = os.getenv("DEBUGGING", default=False)
Expand Down Expand Up @@ -64,7 +64,7 @@ def test_changelog_trimming(topo_m2c1):
:id: c0b357ed-07a4-4000-bbe0-2fbbf90232c9
:setup: 2 Suppliers, 1 Consumer
:steps:
1. Configure changelog trimming (maxage=5 and interval=300)
1. Configure changelog trimming (maxage=5 and interval=15)
2. Creates updates on S1 and S2 (that will be also replicated to C1)
3. Wait for maxage so any previous updates is older than maxage
4. Pause (disable) the replica agreement S1->S2
Expand Down Expand Up @@ -123,7 +123,7 @@ def test_changelog_trimming(topo_m2c1):
test_user = users_s1.create(properties=test_user_properties)

log.info("Wait for trimming thread to complete")
time.sleep(int(TRIMINTERVAL_VALUE) + 10)
time.sleep(int(TRIMINTERVAL_VALUE) + 5)

log.info("Resume replica agreement S1->S2")
S1.agreement.resume(agreement_s1_s2.dn)
Expand Down

0 comments on commit d8e597a

Please sign in to comment.