Skip to content

Fix CI#1046

Merged
ichizok merged 4 commits intomacvim-dev:masterfrom
ichizok:fix/latency
May 26, 2020
Merged

Fix CI#1046
ichizok merged 4 commits intomacvim-dev:masterfrom
ichizok:fix/latency

Conversation

@ichizok
Copy link
Copy Markdown
Member

@ichizok ichizok commented May 18, 2020

Now CI fails caused by mainly Test_writedelay and netbeans tests.

Test_writedelay

By RunVim() added into Test_opt_default_cdpath the GUI events of window-focus (lost/gained) happen and they are queued into inputQueue of 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.

ichizok added 4 commits May 18, 2020 08:05
Flush inputQueue in gui_mch_update()
In order to update channels surely in ":sleep"
Merge a part of 8.2.0786 in advance
@ichizok ichizok merged commit 7319bc7 into macvim-dev:master May 26, 2020
@ichizok ichizok deleted the fix/latency branch May 26, 2020 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant