Skip to content

Commit

Permalink
SQ -> Tests: test_shell: Bump timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfstr committed Jan 9, 2024
1 parent 11698cc commit 5e5d0e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/crystal/tests/test_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def test_shell_exits_with_expected_message(subtests: SubtestsContext) -> None:
_close_open_or_create_dialog(crystal)

try:
assertEqual('4\n', _py_eval(crystal, '2 + 2'))
assertEqual(
'4\n',
_py_eval(crystal, '2 + 2', timeout=5.0)) # took >4.0s in Linux CI
except AssertionError as e:
raise AssertionError(f'{e} Trailing output: {_drain(crystal)!r}')

Expand Down

0 comments on commit 5e5d0e5

Please sign in to comment.