-
-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Ensure MySQL tests cleanup connections and raise an exception if they do not #87767
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
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
342ee3a
Skip db locking test with postgresql/MySQL
bdraco dc3a7b3
Turn back off test_shutdown_before_startup_finishes on MySQL
bdraco 0005e89
switch to the guards instead
bdraco 57e16da
Merge branch 'test_shutdown_before_startup_finishes_mysql' into ii
bdraco 30c3637
Disable test_migration_in_progress on MySQL
bdraco 3d3310e
Merge branch 'disable_test_migration_in_progress' into ii
bdraco d6d5848
Disable test_entity_ids on MariaDB
bdraco a3ddbe2
Merge branch 'test_entity_ids_innodb_deadlock' into ii
bdraco 8cdea7c
better fix, close stale connections
bdraco a5ec73d
Update tests/components/recorder/test_init.py
bdraco c97a053
Merge branch 'dev' into ii
epenet 8ecf6dd
raise if connections active instead
bdraco d1a1903
Merge branch 'dev' into ii
bdraco 9cadd9e
Merge remote-tracking branch 'origin/ii' into ii
bdraco 58f63c7
Update tests/conftest.py
bdraco 51f60a1
Update tests/conftest.py
bdraco 43f9518
Update tests/conftest.py
bdraco fb61803
fix another test
bdraco fb29081
still dispose
bdraco a3ada74
fix more tests
bdraco aeecaf4
Merge remote-tracking branch 'upstream/dev' into ii
bdraco a9c4fcd
Really ensure recorder test fixture is setup before hass fixture
emontnemery 538ac39
Merge remote-tracking branch 'upstream/recorder_fix_cleanup' into ii
bdraco 5593833
fix run history test
bdraco a6ddc36
Merge branch 'dev' into ii
bdraco fc414a6
add missing patch
bdraco ce60266
Merge remote-tracking branch 'origin/ii' into ii
bdraco 4ed0f8e
comment
bdraco 17323e5
add mocks
bdraco 770a322
Merge branch 'dev' into ii
bdraco ac64ebc
make sure event session is still closed if the commit fails
bdraco 7b837c8
Merge remote-tracking branch 'origin/ii' into ii
bdraco 7c954a9
Ensure recorder still shuts down if the final commit fails
bdraco 3f21467
do not block event loop
bdraco 0d89e9d
Merge branch 'ensure_recorder_shutdown' into ii
bdraco 7e9ca89
do the session in the executor as well
bdraco 7ae6e20
Merge branch 'ensure_recorder_shutdown' into ii
bdraco 2f4e86b
safer
bdraco 10acbbf
Merge branch 'ensure_recorder_shutdown' into ii
bdraco 7e4a272
Merge branch 'dev' into ii
bdraco b33e9ca
Update tests/components/recorder/test_init.py
bdraco 0cabe31
Merge branch 'dev' into ii
bdraco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.