Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

err: Test_debug_with_lambda & Test_debug_running_out_of_lines #14596

Closed
Shane-XB-Qian opened this issue Apr 19, 2024 · 3 comments
Closed

err: Test_debug_with_lambda & Test_debug_running_out_of_lines #14596

Shane-XB-Qian opened this issue Apr 19, 2024 · 3 comments
Labels

Comments

@Shane-XB-Qian
Copy link
Contributor

Shane-XB-Qian commented Apr 19, 2024

Steps to reproduce

Test_debug_with_lambda[4]..Run_Test_debug_with_lambda[12]..WaitForAssert[2]..<SNR>4_WaitForCommon[11]..<lambda>9 line 1: Pattern '^>' does not match '-- More --'
Test_debug_with_lambda[4]..Run_Test_debug_with_lambda[15]..WaitForAssert[2]..<SNR>4_WaitForCommon[11]..<lambda>10 line 1: Pattern '\\[0\\]' does not match 'line 1: var n = 0'
Test_debug_with_lambda[4]..Run_Test_debug_with_lambda[17]..StopVimInTerminal[17]..WaitForAssert[2]..<SNR>4_WaitForCommon[11]..<lambda>13 line 1: Expected 'finished' but got 'running'
Test_debug_running_out_of_lines[4]..Run_Test_debug_running_out_of_lines[20]..WaitForAssert[2]..<SNR>4_WaitForCommon[11]..<lambda>4 line 1: Pattern '^>' does not match '-- More --'
Test_debug_running_out_of_lines[4]..Run_Test_debug_running_out_of_lines[24]..WaitForAssert[2]..<SNR>4_WaitForCommon[11]..<lambda>5 line 1: Pattern '^>' does not match '-- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q: quit '
Test_debug_running_out_of_lines[4]..Run_Test_debug_running_out_of_lines[29]..StopVimInTerminal[17]..WaitForAssert[2]..<SNR>4_WaitForCommon[11]..<lambda>8 line 1: Expected 'finished' but got 'running'

seems these term_getline(buf, xxx) of these two tests somehow actually get line from cli output.
@yegappan

Expected behaviour

no err

Version of Vim

v9.1.354

Environment

linux

Logs and stack traces

No response

@chrisbra
Copy link
Member

What is different in your environment, that this fails for you?

I believe there is not much we can do here, except for guessing why it fails for you. Can you please debug those two functions and see why it fails for you?

@Shane-XB-Qian
Copy link
Contributor Author

Shane-XB-Qian commented Apr 20, 2024 via email

@chrisbra
Copy link
Member

I haven't seen this in the current CI flaky tests, so where did you see this? And I suppose you cannot debug this then?

Shane-XB-Qian added a commit to Shane-XB-Qian/vim that referenced this issue May 1, 2024
// fix: vim#14596

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants