Problem: Channel test fails randomly.
Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)
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))
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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3253,
/**/
3252,
/**/