Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executor: skip TemporaryTableNoNetwork unit test under infoschema v2 #51709

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkg/executor/temporary_table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ func assertTemporaryTableNoNetwork(t *testing.T, createTable func(*testkit.TestK

tk.MustExec("use test")
tk1.MustExec("use test")

if tk.MustQuery("select @@tidb_schema_cache_size > 0").Equal(testkit.Rows("1")) {
// infoschema v2 requires network, so it cannot be tested this way.
t.Skip()
}

tk.MustExec("drop table if exists normal, tmp_t")
tk.MustExec("create table normal (id int, a int, index(a))")
createTable(tk)
Expand Down