We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e65a5bd commit 3c477ccCopy full SHA for 3c477cc
executor/test/issue_test/executor_issue_test.go
@@ -18,6 +18,7 @@ import (
18
"testing"
19
20
"github.com/pingcap/failpoint"
21
+ "github.com/pingcap/tidb/executor"
22
"github.com/pingcap/tidb/testkit"
23
"github.com/stretchr/testify/require"
24
)
@@ -55,5 +56,7 @@ func TestIssue60926(t *testing.T) {
55
56
defer func() {
57
require.NoError(t, failpoint.Disable("github.com/pingcap/tidb/executor/issue60926"))
58
}()
59
+ executor.IsChildCloseCalledForTest = false
60
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)
62
}
0 commit comments