tests/terminal/tui: wait 1ms to avoid data race in FreeBSD

This commit is contained in:
Jan Edmund Lazo 2020-07-24 19:19:50 -04:00
parent 513d117947
commit 0393eec3ea
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15
1 changed files with 2 additions and 0 deletions

View File

@ -605,6 +605,8 @@ describe('TUI', function()
wait_for_mode('i')
-- "bracketed paste"
feed_data('\027[200~'..expected..'\027[201~')
-- FIXME: Data race between the two feeds
if uname() == 'freebsd' then screen:sleep(1) end
feed_data(' end')
expected = expected..' end'
screen:expect([[