From 6a2c5a7dd5c9215cc030d5ea6e4616d782c091dd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 8 Apr 2020 21:50:25 +0200 Subject: patch 8.2.0533: tests using term_wait() can still be flaky Problem: Tests using term_wait() can still be flaky. Solution: Increase the wait time when rerunning a test. (James McCoy, closes #5899) Halve the initial times to make tests run faster when there is no rerun. --- src/testdir/test_diffmode.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_diffmode.vim') diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim index 07aa919f4..a251d3fec 100644 --- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -801,7 +801,7 @@ func VerifyInternal(buf, dumpfile, extra) call term_sendkeys(a:buf, ":diffupdate!\") " trailing : for leaving the cursor on the command line call term_sendkeys(a:buf, ":set diffopt=internal,filler" . a:extra . "\:") - call term_wait(a:buf) + call TermWait(a:buf) call VerifyScreenDump(a:buf, a:dumpfile, {}) endfunc -- cgit v1.2.1