Skip to content

Commit

Permalink
Add sleep to logger handler check
Browse files Browse the repository at this point in the history
  • Loading branch information
BioWilko committed Sep 18, 2024
1 parent 6f43cec commit f470270
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_varys.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def tearDown(self):

# check that all file handles were dropped
logger = logging.getLogger("test_varys")
time.sleep(0.1)
self.assertEqual(len(logger.handlers), 0)

def send_and_receive(self):
Expand Down

0 comments on commit f470270

Please sign in to comment.