6d472e4 Ticket 48832 - Fix timing and localhost issues

Authored and Committed by spichugi 7 years ago
    Ticket 48832 - Fix timing and localhost issues
    
    Description: Add smart time.sleep() before a checking of access log.
    Replace 'localhost' with DirSrvTools.getLocalhost() function for
    rootdn-allow-host and rootdn-deny-host attrs.
    
    https://fedorahosted.org/389/ticket/48832
    
    Reviewed by: mreynolds (Thanks!)