Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Jul 13, 2023
1 parent 619243b commit 97c5548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sessiontxn/txn_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ func TestTxnContextForStaleReadInPrepare(t *testing.T) {
})

// plan cache for stmtID2
doWithCheckPath(t, se, []string{"assertTxnManagerInCachedPlanExec", "assertTxnManagerInShortPointGetPlan"}, func() {
doWithCheckPath(t, se, []string{}, func() {
rs, err := se.ExecutePreparedStmt(context.TODO(), stmtID2, nil)
require.NoError(t, err)
tk.ResultSetToResult(rs, fmt.Sprintf("%v", rs)).Check(testkit.Rows("1 10"))
Expand All @@ -660,7 +660,7 @@ func TestTxnContextForStaleReadInPrepare(t *testing.T) {
})

// plan cache for stmtID3
doWithCheckPath(t, se, []string{"assertTxnManagerInShortPointGetPlan"}, func() {
doWithCheckPath(t, se, []string{}, func() {
rs, err := se.ExecutePreparedStmt(context.TODO(), stmtID3, nil)
require.NoError(t, err)
tk.ResultSetToResult(rs, fmt.Sprintf("%v", rs)).Check(testkit.Rows("1 10"))
Expand Down

0 comments on commit 97c5548

Please sign in to comment.