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 1bfe359
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 365 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ mock = "*"
pexpect = "*"
pytest = "*"
pylint = "*"
pytest-retry = "*"

[packages]
chardet = "*"
Expand Down

0 comments on commit 1bfe359

Please sign in to comment.