Skip to content

Commit

Permalink
Pytests, fix error at teardown of TestGreenSocket.test_full_duplex (#871
Browse files Browse the repository at this point in the history
)

Pytests keeps failing with below error:
 ERROR at teardown of TestGreenSocket.test_full_duplex
 tests/__init__.py:194: in tearDown

and above is caused by:
 eventlet/hubs/hub.py:310: TestIsTakingTooLong

By simply increasing the TEST_TIMEOUT let fully pass all the tests.

Co-authored-by: Radoslaw Smigielski <radoslaw.smigielski@nokia.com>
  • Loading branch information
radeksm and Radoslaw Smigielski committed Jan 9, 2024
1 parent 12d6e19 commit 5f39d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class LimitedTestCase(unittest.TestCase):
timeout is 1 second, change it by setting TEST_TIMEOUT to the desired
quantity."""

TEST_TIMEOUT = 1
TEST_TIMEOUT = 2

def setUp(self):
self.previous_alarm = None
Expand Down

0 comments on commit 5f39d55

Please sign in to comment.