11974a0 Ticket 49435 - Fix NS race condition on loaded test systems

Authored and Committed by William Brown 6 years ago
    Ticket 49435 - Fix NS race condition on loaded test systems
    
    Bug Description:  During a test run, on a heavily loaded systems
    some events would time out before they could occur correctly.
    
    Fix Description:  Change the structure of events to mitigate
    a deref performance hit, and add a ns_job_wait conditional
    that allows blocking on a job to complete so that tests do not
    require time based checks.
    
    https://pagure.io/389-ds-base/issue/49435
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)
    
        
file modified
+104 -71