DescriptionFix PPAPINaClNewlibTest.PostMessage flakiness
Previously PPAPINaClNewlibTest.PostMessage SendInInit was flaking. The problem seems to be that the messages that are sent in Init() may be replied to and handled in HandleMessage() before RunTests() is run (Init() and RunTests() are called asynchronously). When this is the case, WaitForMessages() can return 0, even though the message from Init() is properly received, because the value of message_data_.size() is 1 before and after the function returns. There is actually no need to check the return value of this function, checking the size of message_data_.size() (which we already do) should be sufficient.
BUG=372630
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272542
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|