Skip to content

Commit

Permalink
expression: make test TestPreparePlanCacheOnCachedTable more stable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaiamao authored Mar 23, 2022
1 parent b9bacad commit 97902f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions expression/integration_serial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3809,6 +3809,7 @@ func TestPreparePlanCacheOnCachedTable(t *testing.T) {
readFromTableCache = true
break
}
time.Sleep(50 * time.Millisecond)
}
require.True(t, readFromTableCache)
// already read cache after reading first time
Expand Down

0 comments on commit 97902f1

Please sign in to comment.