#9530 ipatests: wait_for_replication method is broken
Closed: fixed a year ago by frenaud. Opened a year ago by frenaud.

Issue

The method used in the tests task.wait_for_replication is broken and returns that the replication is done even when that is not true.

The fix for https://pagure.io/freeipa/issue/9171 Boolean value not mapped on WebUI checkbox changed the way Boolean attributes are handled and because of this patch, e.single_value['nsds5replicaUpdateInProgress'] now returns a Boolean (True/False) instead of a string ("TRUE"/"FALSE").

The consequence is that the test test_integration.test_dns_locations.TestDNSLocations sometimes fails, assuming that replication is complete while it is not.

The test code needs to be adapted.


Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-25260

a year ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7228

a year ago

master:

  • e5bb0f3 ipatests: fix tasks.wait_for_replication method

ipa-4-11:

  • 7f11425 ipatests: fix tasks.wait_for_replication method

ipa-4-10:

  • 278c2cb ipatests: fix tasks.wait_for_replication method

ipa-4-9:

  • 44a7624 ipatests: fix tasks.wait_for_replication method

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a year ago

Log in to comment on this ticket.

Metadata