superset/tests/integration_tests/databases
Peter Kosztolanyi 02032ee8a4
feat: cancel db query on stop (#15403)
* feat: cancel db query on stop

* fix pylint

* Add unit tests

* Do not bind multiple times

* Stop only running queries

* Postgres to cancel only the required query

* Remove extra log

* Add docstring

* Better types, docstring and naming

* Use python3 format strings

* Update superset/sql_lab.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Add cancel_query_on_windows_unload option to database

* Return cancel_query as bool

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-07-13 12:09:22 -04:00
..
__init__.py refactor(tests): decouple unittests from integration tests (#15473) 2021-07-01 18:03:07 +03:00
api_tests.py feat: cancel db query on stop (#15403) 2021-07-13 12:09:22 -04:00
commands_tests.py refactor(tests): decouple unittests from integration tests (#15473) 2021-07-01 18:03:07 +03:00
schema_tests.py refactor(tests): decouple unittests from integration tests (#15473) 2021-07-01 18:03:07 +03:00