Skip to content

Commit

Permalink
expression: fix data race in builtin_other_vec_generated_test.go (#30503
Browse files Browse the repository at this point in the history
)
  • Loading branch information
hawkingrei committed Dec 8, 2021
1 parent 7a5a8bf commit daf8f3e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions expression/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1118,8 +1118,6 @@ func genVecExprBenchCase(ctx sessionctx.Context, funcName string, testCase vecEx
// testVectorizedEvalOneVec is used to verify that the vectorized
// expression is evaluated correctly during projection
func testVectorizedEvalOneVec(t *testing.T, vecExprCases vecExprBenchCases) {
t.Parallel()

ctx := mock.NewContext()
for funcName, testCases := range vecExprCases {
for _, testCase := range testCases {
Expand Down Expand Up @@ -1321,8 +1319,6 @@ func removeTestOptions(args []string) []string {
// testVectorizedBuiltinFunc is used to verify that the vectorized
// expression is evaluated correctly
func testVectorizedBuiltinFunc(t *testing.T, vecExprCases vecExprBenchCases) {
t.Parallel()

testFunc := make(map[string]bool)
argList := removeTestOptions(flag.Args())
testAll := len(argList) == 0
Expand Down

0 comments on commit daf8f3e

Please sign in to comment.