mirror of
https://github.com/apache/superset.git
synced 2026-05-07 17:04:58 +00:00
Update existing tests
This commit is contained in:
@@ -70,12 +70,6 @@ class EngineManagerExtension:
|
||||
def shutdown_engine_manager() -> None:
|
||||
if self.engine_manager:
|
||||
self.engine_manager.stop_cleanup_thread()
|
||||
# Use a try-except to handle closed log file handlers during tests
|
||||
try:
|
||||
logger.info("Stopped EngineManager cleanup thread")
|
||||
except ValueError:
|
||||
# Ignore logging errors during test shutdown when file handles are closed
|
||||
pass
|
||||
|
||||
app.teardown_appcontext_funcs.append(lambda exc: None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user