Skip to content

Commit

Permalink
turn on checks that is valid now
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun committed Sep 23, 2021
1 parent d4ec3be commit 8050194
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions executor/seqtest/prepared_serial_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,7 @@ func TestPreparedIssue17419(t *testing.T) {

dom.ExpensiveQueryHandle().LogOnQueryExceedMemQuota(tk.Session().GetSessionVars().ConnectionID)

// After entirely fixing https://github.com/pingcap/tidb/issues/17419
// c.Assert(tk1.Se.ShowProcess().Plan, NotNil)
// _, ok := tk1.Se.ShowProcess().Plan.(*plannercore.Execute)
// require.True(t, ok)
require.NotNil(t, tk1.Session().ShowProcess().Plan)
_, ok := tk1.Session().ShowProcess().Plan.(*plannercore.Execute)
require.True(t, ok)
}

0 comments on commit 8050194

Please sign in to comment.