-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impossible to run errbot test using official docs #1641
Comments
okay let me have a look at it. |
@keenborder786
Thanks in advance! Kindest regards! |
Describe the bug
Followed the instructions per official docs for testing, both options with using
pytest
with function based tests / orunittest
withFullStackTest
class are failing (instruction for usage ofFullStackTest
is taken from the class docstring). By failing means test env runner doesn't quit after all the tests are run (apparently due toThreads
are not closed properly, becausepostgresql
sometimes throws an error that there are several connections todb
that is not closed).To Reproduce
Follow the instructions of the official docs
Expected behavior
Test env run all the tests and quits.
Screenshots
See traceback below.
Environment (please complete the following information):
Additional context
After running the test, test env runner is not closed automatically (it simply freezes), once you Ctrl+C, the following traceback is appeared:
Here is a traceback that occurs in CI/CD pipeline (see below):
This problem occurs on both
unittest
(with usage ofFullStackTest
cls) andpytest
(using func based tests) runner.The text was updated successfully, but these errors were encountered: