Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lzmhhh123 committed Apr 26, 2020
1 parent 2143a2d commit 0f03107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidb-server/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f03107

Please sign in to comment.