Patch 8.2.3253
Problem: Channel test fails randomly.
Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
Files: src/testdir/test_channel.vim, src/testdir/test_channel.py
*** ../vim-8.2.3252/src/testdir/test_channel.vim 2021-07-10
22:21:36.666482755 +0200
--- src/testdir/test_channel.vim 2021-07-30 21:53:35.166440591 +0200
***************
*** 253,263 ****
func Test_communicate_ipv6()
CheckIPv6
- " FIXME: this test is very flaky on MS-Windows
- if has('win32')
- throw 'Skipped: test is very flaky with MS-Windows'
- endif
-
call Test_communicate()
endfunc
--- 253,258 ----
*** ../vim-8.2.3252/src/testdir/test_channel.py 2021-07-01 22:11:24.671619362
+0200
--- src/testdir/test_channel.py 2021-07-30 21:51:19.590704461 +0200
***************
*** 114,119 ****
--- 114,124 ----
print("sending: {0}".format(cmd))
self.request.sendall(cmd.encode('utf-8'))
response = "ok"
+ # Wait a bit, so that the "ex" command is handled
+ # before the "ch_evalexpr() returns. Otherwise we are
+ # outside the try/catch when the "ex" command is
+ # handled.
+ time.sleep(0.02)
elif decoded[1] == 'bad command':
cmd = '["ex","foo bar"]'
print("sending: {0}".format(cmd))
*** ../vim-8.2.3252/src/version.c 2021-07-30 21:32:41.448722501 +0200
--- src/version.c 2021-07-30 21:54:56.682281207 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3253,
/**/
--
Facepalm statement #5: "Petrol getting more expensive? Not for me, I'm always
tanking for 20 dollars"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202107301957.16UJvJ9w2488230%40masaka.moolenaar.net.