Skip to content

Commit

Permalink
test: add more sleep time for TestMemoryUsageAndOpsHistory test (#5…
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 authored Feb 2, 2024
1 parent b289dc9 commit ff8b3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/infoschema/test/clustertablestest/tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ func TestMemoryUsageAndOpsHistory(t *testing.T) {
}()
gctuner.GlobalMemoryLimitTuner.Start()
defer func() {
time.Sleep(1 * time.Second) // Wait tuning finished.
time.Sleep(1200 * time.Millisecond) // Wait tuning finished.
}()
tk.MustExec("set global tidb_mem_oom_action = 'CANCEL'")
tk.MustExec("set global tidb_server_memory_limit=512<<20")
Expand Down

0 comments on commit ff8b3d3

Please sign in to comment.