Skip to content

Commit 3c477cc

Browse files
tweaking
1 parent e65a5bd commit 3c477cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

executor/test/issue_test/executor_issue_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818
"testing"
1919

2020
"github.com/pingcap/failpoint"
21+
"github.com/pingcap/tidb/executor"
2122
"github.com/pingcap/tidb/testkit"
2223
"github.com/stretchr/testify/require"
2324
)
@@ -55,5 +56,7 @@ func TestIssue60926(t *testing.T) {
5556
defer func() {
5657
require.NoError(t, failpoint.Disable("github.com/pingcap/tidb/executor/issue60926"))
5758
}()
59+
executor.IsChildCloseCalledForTest = false
5860
tk.MustQuery("select * from t1 join (select col0, sum(col1) from t2 group by col0) as r on t1.col0 = r.col0;")
61+
require.True(t, executor.IsChildCloseCalledForTest)
5962
}

0 commit comments

Comments
 (0)