From a139e6bd982494e02acaf3d760fd14fc9fe8db19 Mon Sep 17 00:00:00 2001 From: xuans Date: Thu, 1 Oct 2026 23:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=B6=E9=95=BFMySQL=E9=9A=94=E7=A6=BB?= =?UTF-8?q?=E5=AE=9E=E4=BE=8B=E6=AD=A3=E5=B8=B8=E5=85=B3=E9=97=AD=E7=AD=89?= =?UTF-8?q?=E5=BE=85=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/testsupport/mysqltest/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/testsupport/mysqltest/server.go b/backend/internal/testsupport/mysqltest/server.go index 0471785..b24690e 100644 --- a/backend/internal/testsupport/mysqltest/server.go +++ b/backend/internal/testsupport/mysqltest/server.go @@ -186,7 +186,7 @@ func (f *Server) Stop(t *testing.T) { if err != nil { t.Errorf("独立 MySQL 未正常退出:%v", err) } - case <-time.After(15 * time.Second): + case <-time.After(30 * time.Second): _ = f.command.Process.Kill() <-f.exit t.Error("独立 MySQL 停止超时,已终止本测试启动的进程")