Skip to content

Commit

Permalink
test: mark RunExecOptionsTest.testWatchWait as flaky
Browse files Browse the repository at this point in the history
It will frequently hit a pexpect TIMEOUT in CI builds waiting for the notifier
output, so let's just retry in that case.

Makes use of https://pypi.org/project/pytest-retry/.

Using the flaky mark causes only that test case to be retried.
  • Loading branch information
wwade committed Feb 8, 2024
1 parent d872f3e commit f7b7934
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 340 deletions.
3 changes: 2 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ flake8 = "*"
isort = "*"
mock = "*"
pexpect = "*"
pytest = "*"
pytest = "~=7.0"
pylint = "*"
pytest-retry = "*"

[packages]
chardet = "*"
Expand Down
Loading

0 comments on commit f7b7934

Please sign in to comment.