mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
swarm/network/stream: rename race/norace test files and use const
This commit is contained in:
parent
c3f2368481
commit
baed029629
2 changed files with 2 additions and 2 deletions
|
|
@ -21,4 +21,4 @@ package stream
|
|||
// Provide a flag to reduce the scope of tests when running them
|
||||
// with race detector. Some of the tests are doing a lot of allocations
|
||||
// on the heap, and race detector uses much more memory to track them.
|
||||
var raceTest = false
|
||||
const raceTest = false
|
||||
|
|
@ -20,4 +20,4 @@ package stream
|
|||
|
||||
// Reduce the scope of some tests when running with race detector,
|
||||
// as it raises the memory consumption significantly.
|
||||
var raceTest = true
|
||||
const raceTest = true
|
||||
Loading…
Reference in a new issue