Re: Test failure on linux-powerpc v8.0.1670

2018-04-07 Fir de Conversatie Bram Moolenaar

Elimar Riesebieter wrote:

> > From test_terminal.vim:
> > Found errors in Test_terminal_api_drop_newwin_fileformat():
> > Caught exception in Test_terminal_api_drop_newwin_fileformat(): WaitFor() 
> > timed out after 2000 msec @ function 
> > RunTheTest[38]..Test_terminal_api_drop_newwin_fileformat[4]..Api_drop_common[12]..WaitFor,
> >  line 25
> 
> Increase call wait for to 5000 in test_terminal.vim seems to fix it so far:

Hmm, OK.  That's a very long time though, there must be something that
causes the long delay.  If you try something like by hand, do you notice
a delay?

-- 
Would you care for a drink?   I mean, if it were, like,
disabled and you had to look after it?

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Test failure on linux-powerpc v8.0.1670

2018-04-07 Fir de Conversatie Bram Moolenaar

Elimar Riesebieter wrote:

> From test_terminal.vim:
> Found errors in Test_terminal_api_drop_newwin_fileformat():
> Caught exception in Test_terminal_api_drop_newwin_fileformat(): WaitFor() 
> timed out after 2000 msec @ function 
> RunTheTest[38]..Test_terminal_api_drop_newwin_fileformat[4]..Api_drop_common[12]..WaitFor,
>  line 25
> 
> 
> Builds on amd64 and i386 ran fine.

I haven't been able to reproduce this failure and similar ones with
"api_drop".  It also fails on Travis sometimes. I am looking forward to
get a hint on how to reproduce this failure.

Note that the similar _ff and _enc tests pass, but the _fileformat and
_encoding tests, which do exactly the same thing, then fail.  Maybe the
previous test wasn't completely finished somehow?

-- 
hundred-and-one symptoms of being an internet addict:
121. You ask for e-mail adresses instead of telephone numbers.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Test failure on linux-powerpc v8.0.1670

2018-04-07 Fir de Conversatie Elimar Riesebieter
* Elimar Riesebieter  [2018-04-07 13:20 +0200]:

> >From test_terminal.vim:
> Found errors in Test_terminal_api_drop_newwin_fileformat():
> Caught exception in Test_terminal_api_drop_newwin_fileformat(): WaitFor() 
> timed out after 2000 msec @ function 
> RunTheTest[38]..Test_terminal_api_drop_newwin_fileformat[4]..Api_drop_common[12]..WaitFor,
>  line 25

Increase call wait for to 5000 in test_terminal.vim seems to fix it so far:

>From 27c1ef8d2c47d33f9723f4f619c1be6783af91d4 Mon Sep 17 00:00:00 2001
From: Elimar Riesebieter 
Date: Sat, 7 Apr 2018 16:19:00 +0200
Subject: [PATCH] Increase call wait for to 5000 in test_terminal.vim

---
 src/testdir/test_terminal.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index cd7a2b21e..5645625cb 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -1061,7 +1061,7 @@ func Api_drop_common(options)
\ "set t_ts=",
\ ], 'Xscript')
   let buf = RunVimInTerminal('-S Xscript', {})
-  call WaitFor({-> bufnr('Xtextfile') > 0}, 2000)
+  call WaitFor({-> bufnr('Xtextfile') > 0}, 5000)
   call assert_equal('Xtextfile', expand('%:t'))
   call assert_true(winnr('$') >= 3)
   return buf
-- 
2.17.0


-- 
  Numeric stability is probably not all that
  important when you're guessing;-)

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.