Extra long pause test

This code is running just finally locally in tests, but is failing with:

RuntimeError: Task <Task pending name='Task-279' coro=<MessagePump._process_messages() running at /home/runner/work/textual/textual/src/textual/message_pump.py:314>> got Future <Future pending> attached to a different loop

in GitHub Actions. Pretty sure I saw this before, which made me add the
pause in the first place. Given this seems to just be affecting the last
test, from what I can tell, let's make the pause longer to see if that
helps.

I hate chasing action issues...
This commit is contained in:
Dave Pearson
2022-12-15 12:57:14 +00:00
parent ad7c2e6c4d
commit 2f77bab409

View File

@@ -598,7 +598,7 @@ async def test_overlapping_priority_bindings() -> None:
"""Test an app stack with overlapping bindings."""
async with PriorityOverlapApp().run_test() as pilot:
await pilot.press(*"0abcdef")
await pilot.pause(2 / 100)
await pilot.pause(5 / 100)
assert pilot.app.pressed_keys == [
"widget_0",
"app_a",