This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new fe5242a876 fix: Fix delete_fake_db (#29935)
fe5242a876 is described below

commit fe5242a876706f6a5213cb145e6b510b986e295a
Author: Dmitry Stamplevsky <[email protected]>
AuthorDate: Wed Aug 14 22:30:07 2024 +0300

    fix: Fix delete_fake_db (#29935)
---
 tests/integration_tests/base_tests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/integration_tests/base_tests.py 
b/tests/integration_tests/base_tests.py
index b3a000c601..9cddba6bff 100644
--- a/tests/integration_tests/base_tests.py
+++ b/tests/integration_tests/base_tests.py
@@ -443,6 +443,7 @@ class SupersetTestCase(TestCase):
         )
         if database:
             db.session.delete(database)
+            db.session.commit()
 
     def create_fake_db_for_macros(self):
         database_name = "db_for_macros_testing"

Reply via email to