mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
chore: stabilize MySQL tests by aligning isolation levels (#28028)
This commit is contained in:
committed by
GitHub
parent
c225e17a75
commit
de9daf7ad9
2
.github/workflows/bashlib.sh
vendored
2
.github/workflows/bashlib.sh
vendored
@@ -89,6 +89,8 @@ EOF
|
||||
setup-mysql() {
|
||||
say "::group::Initialize database"
|
||||
mysql -h 127.0.0.1 -P 13306 -u root --password=root <<-EOF
|
||||
SET GLOBAL transaction_isolation='READ-COMMITTED';
|
||||
SET GLOBAL TRANSACTION ISOLATION LEVEL READ COMMITTED;
|
||||
DROP DATABASE IF EXISTS superset;
|
||||
CREATE DATABASE superset DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
||||
DROP DATABASE IF EXISTS sqllab_test_db;
|
||||
|
||||
Reference in New Issue
Block a user