1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: test_attach: Increase jobwait timeout
Slower architectures, like riscv64, aren't completing the job
in 500ms and therefore the test fails.
Author: James McCoy <jamessan@debian.org>
---
diff --git i/test/test_attach.py w/test/test_attach.py
index 25d0822..e64fc81 100644
--- i/test/test_attach.py
+++ w/test/test_attach.py
@@ -128,7 +128,7 @@ def test_connect_stdio(vim: Nvim) -> None:
'python3', '-c', remote_py_code,
], {'rpc': True, 'on_stderr': 'OutputHandler'})
assert jobid > 0
- exitcode = vim.funcs.jobwait([jobid], 500)[0]
+ exitcode = vim.funcs.jobwait([jobid], 5000)[0]
messages = vim.command_output('messages')
assert exitcode == 0, ("the python process failed, :messages =>\n\n" +
messages)
|