Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <[email protected]>
  • Loading branch information
nolouch committed Jun 4, 2021
1 parent 7ba16de commit f387675
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions server/cluster/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,13 +622,6 @@ func (s *testClusterInfoSuite) TestRegionFlowChanged(c *C) {
processRegions(regions)
newRegion := cluster.GetRegion(region.GetID())
c.Assert(newRegion.GetBytesRead(), Equals, uint64(1000))

// do not trace the flow changes
cluster.traceRegionFlow = false
processRegions([]*core.RegionInfo{region})
newRegion = cluster.GetRegion(region.GetID())
c.Assert(region.GetBytesRead(), Equals, uint64(0))
c.Assert(newRegion.GetBytesRead(), Not(Equals), uint64(0))
}

func (s *testClusterInfoSuite) TestConcurrentRegionHeartbeat(c *C) {
Expand Down

0 comments on commit f387675

Please sign in to comment.