Skip to content

Commit

Permalink
executor: remove some useless sleep in test case (pingcap#37475)
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 authored Aug 31, 2022
1 parent 4481145 commit 4e39ac0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions executor/tiflashtest/tiflash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,6 @@ func TestTiflashPartitionTableScan(t *testing.T) {
tb := external.GetTableByName(t, tk, "test", "t")
err := domain.GetDomain(tk.Session()).DDL().UpdateTableReplicaInfo(tk.Session(), tb.Meta().ID, true)
require.NoError(t, err)
time.Sleep(2 * time.Second)
tk.MustExec("insert into t values(1),(11),(21),(31),(41);")
tk.MustExec("set @@tidb_partition_prune_mode = 'dynamic';")
tk.MustExec("set @@session.tidb_isolation_read_engines=\"tiflash\";")
Expand Down Expand Up @@ -1215,7 +1214,6 @@ func TestTiflashEmptyDynamicPruneResult(t *testing.T) {
tb := external.GetTableByName(t, tk, "test", "IDT_RP24833")
err := domain.GetDomain(tk.Session()).DDL().UpdateTableReplicaInfo(tk.Session(), tb.Meta().ID, true)
require.NoError(t, err)
time.Sleep(2 * time.Second)

tk.MustExec("insert into IDT_RP24833 values(-8448770111093677011, \"郇鋺篤堯擈斥鍮啸赠璭饱磟朅闑傒聎疫ᛄ怖霃\", \"8781-05-02 04:23:03\", -27252736532807028, -1.34554e38);")
tk.MustExec("set @@tidb_partition_prune_mode = 'dynamic';")
Expand Down

0 comments on commit 4e39ac0

Please sign in to comment.