Skip to content

Commit

Permalink
expression: fix data race in the builtin_other_vec_generated_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Dec 7, 2021
1 parent d83ee8c commit 7a35e56
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 7a35e56

Please sign in to comment.