make testdiff race condition

Create issue
Issue #222 resolved
dd1 created an issue

“make testdiff” fails on Bitbucket automatic builds because of a race condition at run stop between mtransition and mlogger - in midas.log - the message [mtransition,INFO] Run #2 stopped from mtransition sometimes is logged before messages from the mlogger “end run” rpc handler. K.O.

Comments (4)

  1. dd1 reporter

    added cm_msg_flush_buffer() in mlogger run transition handlers, bitbucket builds are happy now. K.O.

  2. dd1 reporter

    there was also a race condiction between “mlogger -D &” and subsequent “sleep”, the “&” is not needed here, removed it, race condition should be fixed. K.O.

  3. Log in to comment