diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 10:18:47 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-19 11:29:33 +0800 |
| commit | db6812c4445545a01b92aa803fa5d6e9085bd3b4 (patch) | |
| tree | 74847b4c7d20b694c209f17a1a43094ac8c314d5 /test/old/testdir/shared.vim | |
| parent | dd8781128f4b93d402bab281d11b85f2c45b987e (diff) | |
| download | rneovim-db6812c4445545a01b92aa803fa5d6e9085bd3b4.tar.gz rneovim-db6812c4445545a01b92aa803fa5d6e9085bd3b4.tar.bz2 rneovim-db6812c4445545a01b92aa803fa5d6e9085bd3b4.zip | |
vim-patch:9.0.0369: a failing flaky test doesn't mention the time
Problem: A failing flaky test doesn't mention the time.
Solution: Add the time for debugging. Improve error message.
https://github.com/vim/vim/commit/06d32a0c177e4166ff0491668cd459464bc2ef45
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/shared.vim')
| -rw-r--r-- | test/old/testdir/shared.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/old/testdir/shared.vim b/test/old/testdir/shared.vim index 33f6d9a2d0..70a3ab7eee 100644 --- a/test/old/testdir/shared.vim +++ b/test/old/testdir/shared.vim @@ -110,16 +110,16 @@ func RunServer(cmd, testfunc, args) try let g:currentJob = RunCommand(pycmd) - " Wait for up to 2 seconds for the port number to be there. + " Wait for some time for the port number to be there. let port = GetPort() if port == 0 - call assert_false(1, "Can't start " . a:cmd) + call assert_report(strftime("%T") .. " Can't start " .. a:cmd) return endif call call(function(a:testfunc), [port]) catch - call assert_false(1, 'Caught exception: "' . v:exception . '" in ' . v:throwpoint) + call assert_report('Caught exception: "' . v:exception . '" in ' . v:throwpoint) finally call s:kill_server(a:cmd) endtry |