{"push_id":1056833196,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"e8e08b359c588c9dd8ca4c5132c372ee6cbd2aaf","before":"e8080a459cf8333a34e95b08e683ded5c78a8a80","commits":[{"sha":"e8e08b359c588c9dd8ca4c5132c372ee6cbd2aaf","author":{"email":"c50144ab0b427b870c22b73d0a116f9d136d8903@chromium.org","name":"karandeepb"},"message":"MacViews: Fix flaky MenuRunnerCocoaTests.\n\nMenuRunnerCocoaTests are currently flaky. When run in parallel with other tests,\nthe blocks scheduled using CFRunLoopPerformBlock are sometimes not run, causing\nthe flakiness.\n\nIdeally launching a menu should run the current thread's runloop in\nNSEventTrackingRunLoopMode, causing the scheduled blocks to run. However, when\nrun in parallel with other tests involving UI operations, flakiness probably\noccurs because the call to launch a menu may fail midway, causing the scheduled\nblocks to not run. Instead of scheduling the block on a runloop, running them as\ncallbacks on SimpleMenuModel::Delegate::MenuWillShow fixes the flakiness.\n\nBUG=521460\n\nReview URL: https://codereview.chromium.org/1829603002\n\nCr-Commit-Position: refs/heads/master@{#385940}","distinct":true,"url":"https://api.github.com/repos/dstockwell/chromium/commits/e8e08b359c588c9dd8ca4c5132c372ee6cbd2aaf"}]}