diff --git a/api-test/backend/src/main/resources/db/migration/V2__2.3.0_release.sql b/api-test/backend/src/main/resources/db/migration/V2__2.3.0_release.sql index 5bb8ee5851..7dfdeb5c72 100644 --- a/api-test/backend/src/main/resources/db/migration/V2__2.3.0_release.sql +++ b/api-test/backend/src/main/resources/db/migration/V2__2.3.0_release.sql @@ -1,3 +1,4 @@ +SET SESSION innodb_lock_wait_timeout = 7200; -- 场景报告状态统一调整 -- 失败状态 update api_scenario_report set status ='ERROR' where status in ('Error','Timeout','Fail'); diff --git a/api-test/backend/src/main/resources/db/migration/V3__2.4.0_release.sql b/api-test/backend/src/main/resources/db/migration/V3__2.4.0_release.sql index 260f9b5725..9d5b41ccd2 100644 --- a/api-test/backend/src/main/resources/db/migration/V3__2.4.0_release.sql +++ b/api-test/backend/src/main/resources/db/migration/V3__2.4.0_release.sql @@ -1,3 +1,5 @@ +SET SESSION innodb_lock_wait_timeout = 7200; + ALTER TABLE api_execution_info ADD project_id VARCHAR ( 50 ) NULL; ALTER TABLE api_execution_info ADD execute_type VARCHAR ( 50 ) NULL; ALTER TABLE api_execution_info ADD version VARCHAR ( 255 ) NULL; diff --git a/api-test/backend/src/main/resources/db/migration/V4__2.4.1_release.sql b/api-test/backend/src/main/resources/db/migration/V4__2.4.1_release.sql index a03b3430cf..2f7fbebff9 100644 --- a/api-test/backend/src/main/resources/db/migration/V4__2.4.1_release.sql +++ b/api-test/backend/src/main/resources/db/migration/V4__2.4.1_release.sql @@ -1,3 +1,5 @@ +SET SESSION innodb_lock_wait_timeout = 7200; + -- -- 增加一个索引 SELECT IF(EXISTS(SELECT DISTINCT index_name