Fix CI#1046
Merged
ichizok merged 4 commits intomacvim-dev:masterfrom May 26, 2020
Merged
Conversation
Flush inputQueue in gui_mch_update()
In order to update channels surely in ":sleep"
Merge a part of 8.2.0786 in advance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now CI fails caused by mainly
Test_writedelayand netbeans tests.Test_writedelay
By
RunVim()added intoTest_opt_default_cdpaththe GUI events of window-focus (lost/gained) happen and they are queued intoinputQueueof MMBackend, but they are not processd during tests.Because of that, regarded as input are activated, 'writedelay' are ignored at doing
redraw.Solution: during
gui_mch_update(), invoke[MMBackend processInputQueue]to flush events.netbeans tests
Netbeans tests expect that the channel are processed during
:sleep 1m, but, since currently updating rate is up to 30/second, cannot handle enough the messages from the test server.Solution: define
gui_macvim_update()in order to update surely in:sleep.And merged a part of 8.2.0786 to fix
Test_nb_basic.