Mercurial > vim
comparison src/testdir/test_crash.vim @ 33156:49cc8eebab30 v9.0.1860
patch 9.0.1860: CI: test_crash1() is flaky
Commit: https://github.com/vim/vim/commit/f44cbe96fa44d10d6dd717e0a9f6ef0f104ee98a
Author: Christian Brabandt <cb@256bit.org>
Date: Mon Sep 4 07:42:27 2023 +0200
patch 9.0.1860: CI: test_crash1() is flaky
Problem: CI: test_crash1() is flaky
Solution: Wait a bit longer
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 04 Sep 2023 07:45:03 +0200 |
parents | faeeed7df688 |
children | 74fcf8a0846b |
comparison
equal
deleted
inserted
replaced
33155:319daced199d | 33156:49cc8eebab30 |
---|---|
38 call term_sendkeys(buf, args .. | 38 call term_sendkeys(buf, args .. |
39 \ ' && echo "crash 4: [OK]" >> X_crash1_result.txt' .. "\<cr>") | 39 \ ' && echo "crash 4: [OK]" >> X_crash1_result.txt' .. "\<cr>") |
40 " clean up | 40 " clean up |
41 call delete('Xerr') | 41 call delete('Xerr') |
42 " This test takes a bit longer | 42 " This test takes a bit longer |
43 call TermWait(buf, 200) | 43 call TermWait(buf, 500) |
44 | 44 |
45 let file = 'crash/poc_tagfunc.vim' | 45 let file = 'crash/poc_tagfunc.vim' |
46 let args = printf(cmn_args, vim, file) | 46 let args = printf(cmn_args, vim, file) |
47 call term_sendkeys(buf, args .. | 47 call term_sendkeys(buf, args .. |
48 \ ' || echo "crash 5: [OK]" >> X_crash1_result.txt' .. "\<cr>") | 48 \ ' || echo "crash 5: [OK]" >> X_crash1_result.txt' .. "\<cr>") |
53 let args = printf(cmn_args, vim, file) | 53 let args = printf(cmn_args, vim, file) |
54 call term_sendkeys(buf, args .. | 54 call term_sendkeys(buf, args .. |
55 \ ' && echo "crash 6: [OK]" >> X_crash1_result.txt' .. "\<cr>") | 55 \ ' && echo "crash 6: [OK]" >> X_crash1_result.txt' .. "\<cr>") |
56 " clean up | 56 " clean up |
57 call delete('X') | 57 call delete('X') |
58 " This test takes a bit longer | |
59 call TermWait(buf, 200) | 58 call TermWait(buf, 200) |
60 | 59 |
61 " clean up | 60 " clean up |
62 exe buf .. "bw!" | 61 exe buf .. "bw!" |
63 | 62 |