From 0f03107516d584559c93c9b1951c1d6703078c63 Mon Sep 17 00:00:00 2001 From: lzmhhh123 Date: Sun, 26 Apr 2020 13:34:01 +0800 Subject: [PATCH] fix test --- tidb-server/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-server/main_test.go b/tidb-server/main_test.go index df9d290460114..89eebbffb2d87 100644 --- a/tidb-server/main_test.go +++ b/tidb-server/main_test.go @@ -41,7 +41,7 @@ type testMainSuite struct{} func (t *testMainSuite) TestSetGlobalVars(c *C) { c.Assert(variable.SysVars[variable.TiDBIsolationReadEngines].Value, Equals, "tikv, tiflash") - c.Assert(variable.SysVars[variable.TIDBMemQuotaQuery].Value, Equals, "1073741824") + c.Assert(variable.SysVars[variable.TIDBMemQuotaQuery].Value, Equals, "34359738368") config.GetGlobalConfig().IsolationRead.Engines = []string{"tikv"} config.GetGlobalConfig().MemQuotaQuery = 9999999