Ticket #440 - periodic dirsync timed event causes server to loop repeatedly
https://fedorahosted.org/389/ticket/440
Resolves: Ticket #440
Bug Description: periodic dirsync timed event causes server to loop repeatedly
Reviewed by: nhosoi (Thanks!)
Branch: 389-ds-base-1.2.11
Fix Description: If we get the EVENT_RUN_DIRSYNC in state
STATE_WAIT_WINDOW_OPEN, just go to sleep, and wait for some event that is able
to bump from this state, such as schedule window open or agreement change.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit d6ca372b30ae0c4e9fcd65c22ac3a7ce870e3f67)
(cherry picked from commit 6cfc1c0ac84200535a512dd4ef28fc9dd82d6c18)