make testdiff race condition
Issue #222
resolved
“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)
-
reporter -
reporter added cm_msg_flush_buffer() in mlogger run transition handlers, bitbucket builds are happy now. K.O.
-
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.
-
reporter - changed status to resolved
bitbucket tests look ok now. K.O.
- Log in to comment
cannot reproduce on macos, el7, el8, ubuntu LTS 18.04. K.O.