dpgaspar commented on code in PR #23965: URL: https://github.com/apache/superset/pull/23965#discussion_r1191336274
########## tests/integration_tests/async_events/api_tests.py: ########## @@ -33,6 +33,7 @@ def fetch_events(self, last_id: Optional[str] = None): @mock.patch("uuid.uuid4", return_value=UUID) def test_events(self, mock_uuid4): + app._got_first_request = False Review Comment: a bit of an hack, `async_query_manager.init_app(app)` registers a Flask `app.before_request`. New Flask will only allow registering before request hooks if no request was yet processed by the app. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org