Bug 29211 - S4 Connector DNS Tests
S4 Connector DNS Tests
Status: CLOSED FIXED
Product: UCS Test
Classification: Unclassified
Component: S4 Connector
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Drees Dormann
Alexander Kläser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-13 06:45 CET by Stefan Gohmann
Modified: 2023-03-25 06:49 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2012-11-13 06:45:06 CET
Es fehlen Tests für die DNS Synchronisation im S4 Connector.
Comment 1 Drees Dormann univentionstaff 2014-03-17 11:15:43 CET
added tests to check dns syncing of :

-a record
-aaaa record
-alias 
-forward zone
-reverse zone
-serial
-service record
-ttl
-txt record
Comment 2 Drees Dormann univentionstaff 2014-04-04 14:49:32 CEST
-renamed from 200* to 175*
-fixed typo in dnstests.py
-added 175sync_create_dns_pointer_record
-removed system role
-added if __name__ == '__main__' where missing
Comment 3 Stefan Gohmann univentionstaff 2014-04-22 06:44:34 CEST
Currently the function wait_for_sync() waits by default for 1 *  (connector/s4/poll/sleep + 3). Please have a look at s4connector.sh ad_wait_for_synchronization() and use the same algorithm.
Comment 4 Drees Dormann univentionstaff 2014-04-29 15:48:32 CEST
52_s4connector/dnstests.py:
   adapted wait_for_sync() to match
   s4connector.sh/ad_wait_for_syncronisation()
 
   Fixed small Bug in test_dns_aaaa_record() with not displayed leading zeros
   of ipv6 address in dig output

52_s4connector/175*: adapted to use reworked wait_for_sync()
 
52_s4connector/176*: adapted to use reworked wait_for_sync()
Comment 5 Stefan Gohmann univentionstaff 2014-05-06 06:57:41 CEST
The tests should only be started on a system the connector is configured. Otherwise you have to consider the DRS replication delay.

See connector_running_on_this_host function in s4connector.sh.
Comment 6 Drees Dormann univentionstaff 2014-05-12 13:35:31 CEST
-function exit_if_connector_not_running added to s4connector.py (similar to 
 connector_running_on_this_host) and implemented into tests
-cleaned testscripts
Comment 7 Alexander Kläser univentionstaff 2014-06-04 14:48:49 CEST
The tests look fine AFAIS.