Skip to content

Commit

Permalink
*: remove skipping for data race test (pingcap#32736)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkingrei authored Mar 2, 2022
1 parent edb900e commit 17106ff
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 34 deletions.
7 changes: 0 additions & 7 deletions executor/distsql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import (
"github.com/pingcap/tidb/tablecodec"
"github.com/pingcap/tidb/testkit"
"github.com/pingcap/tidb/types"
"github.com/pingcap/tidb/util/israce"
"github.com/pingcap/tidb/util/mock"
"github.com/stretchr/testify/require"
"github.com/tikv/client-go/v2/testutils"
Expand Down Expand Up @@ -322,9 +321,6 @@ func TestPartitionTableIndexLookUpReader(t *testing.T) {
}

func TestPartitionTableRandomlyIndexLookUpReader(t *testing.T) {
if israce.RaceEnabled {
t.Skip("exhaustive types test, skip race test")
}
store, clean := testkit.CreateMockStore(t)
defer clean()
tk := testkit.NewTestKit(t, store)
Expand Down Expand Up @@ -392,9 +388,6 @@ func TestIndexLookUpGetResultChunk(t *testing.T) {
}

func TestPartitionTableIndexJoinIndexLookUp(t *testing.T) {
if israce.RaceEnabled {
t.Skip("exhaustive types test, skip race test")
}
store, clean := testkit.CreateMockStore(t)
defer clean()
tk := testkit.NewTestKit(t, store)
Expand Down
4 changes: 0 additions & 4 deletions executor/index_lookup_join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"testing"

"github.com/pingcap/tidb/testkit"
"github.com/pingcap/tidb/util/israce"
"github.com/stretchr/testify/require"
)

Expand Down Expand Up @@ -471,9 +470,6 @@ func TestIssue27893(t *testing.T) {
}

func TestPartitionTableIndexJoinAndIndexReader(t *testing.T) {
if israce.RaceEnabled {
t.Skip("exhaustive types test, skip race test")
}
store, clean := testkit.CreateMockStore(t)
defer clean()

Expand Down
5 changes: 0 additions & 5 deletions executor/parallel_apply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (
"github.com/pingcap/tidb/sessionctx/variable"
"github.com/pingcap/tidb/testkit"
"github.com/pingcap/tidb/util/collate"
"github.com/pingcap/tidb/util/israce"
"github.com/stretchr/testify/require"
)

Expand Down Expand Up @@ -602,10 +601,6 @@ func TestApplyCacheRatio(t *testing.T) {
}

func TestApplyGoroutinePanic(t *testing.T) {
if israce.RaceEnabled {
t.Skip("race detected, skip it temporarily and fix it before 20210619")
}

store, clean := testkit.CreateMockStore(t)
defer clean()
tk := testkit.NewTestKit(t, store)
Expand Down
4 changes: 0 additions & 4 deletions executor/prepared_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
"github.com/pingcap/tidb/testkit"
"github.com/pingcap/tidb/testkit/testdata"
"github.com/pingcap/tidb/util"
"github.com/pingcap/tidb/util/israce"
"github.com/stretchr/testify/require"
)

Expand Down Expand Up @@ -1287,9 +1286,6 @@ func TestTemporaryTable4PlanCache(t *testing.T) {
}

func TestPrepareStmtAfterIsolationReadChange(t *testing.T) {
if israce.RaceEnabled {
t.Skip("race test for this case takes too long time")
}
store, dom, clean := testkit.CreateMockStoreAndDomain(t)
defer clean()
orgEnable := plannercore.PreparedPlanCacheEnabled()
Expand Down
9 changes: 0 additions & 9 deletions planner/core/prepare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import (
"github.com/pingcap/tidb/sessionctx/variable"
"github.com/pingcap/tidb/testkit"
"github.com/pingcap/tidb/util/hint"
"github.com/pingcap/tidb/util/israce"
"github.com/pingcap/tidb/util/kvcache"
"github.com/prometheus/client_golang/prometheus"
dto "github.com/prometheus/client_model/go"
Expand Down Expand Up @@ -2226,10 +2225,6 @@ func TestIssue30100(t *testing.T) {
}

func TestPartitionTable(t *testing.T) {
if israce.RaceEnabled {
t.Skip("exhaustive types test, skip race test")
}

store, clean := testkit.CreateMockStore(t)
defer clean()
orgEnable := core.PreparedPlanCacheEnabled()
Expand Down Expand Up @@ -2362,10 +2357,6 @@ func TestPartitionTable(t *testing.T) {
}

func TestPartitionWithVariedDataSources(t *testing.T) {
if israce.RaceEnabled {
t.Skip("exhaustive types test, skip race test")
}

store, clean := testkit.CreateMockStore(t)
defer clean()
orgEnable := core.PreparedPlanCacheEnabled()
Expand Down
5 changes: 0 additions & 5 deletions session/clustered_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
"github.com/pingcap/tidb/testkit"
"github.com/pingcap/tidb/testkit/testdata"
"github.com/pingcap/tidb/util/collate"
"github.com/pingcap/tidb/util/israce"
"github.com/stretchr/testify/require"
)

Expand Down Expand Up @@ -628,10 +627,6 @@ func TestPrefixClusteredIndexAddIndexAndRecover(t *testing.T) {
}

func TestPartitionTable(t *testing.T) {
if israce.RaceEnabled {
t.Skip("exhaustive types test, skip race test")
}

store, clean := testkit.CreateMockStore(t)
defer clean()

Expand Down

0 comments on commit 17106ff

Please sign in to comment.