Skip to content

Commit

Permalink
Consider ResourceWarnings as errors for shutdown test
Browse files Browse the repository at this point in the history
Trinity shutdowns are improving which means we ocassionally
get shutdowns that are considered clean which then causes
our xfail to fail. Let's consider ResourceWarnings as
errors, too.
  • Loading branch information
cburgdorf committed Sep 11, 2019
1 parent 27363fd commit f56ab3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/integration/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ async def scan_for_errors(async_iterable):

error_trigger = (
"exception was never retrieved",
"ResourceWarning: unclosed resource",
"Task was destroyed but it is pending",
"Traceback (most recent call last)",
)
Expand Down

0 comments on commit f56ab3d

Please sign in to comment.