• Mark Allen's avatar
    Add a sleep to prevent losing race condition · ec43800b
    Mark Allen authored
    Lager logs its own application start up message. Previously
    this message was discarded or not received quickly enough
    to cause test failures, but now it seems as though it
    is being received and causing several test failures
    even though we are explicitly flushing it away.
    
    We introduce a 5 millisecond sleep for several tests
    to make sure the start up message is received before the
    flush command dumps it.
    ec43800b
lager_file_backend.erl 46.3 KB