swarm/network/stream: rename race/norace test files and use const

This commit is contained in:
Janos Guljas 2019-02-12 14:42:05 +01:00
parent c3f2368481
commit baed029629
2 changed files with 2 additions and 2 deletions

View file

@ -21,4 +21,4 @@ package stream
// Provide a flag to reduce the scope of tests when running them // 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 // 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. // on the heap, and race detector uses much more memory to track them.
var raceTest = false const raceTest = false

View file

@ -20,4 +20,4 @@ package stream
// Reduce the scope of some tests when running with race detector, // Reduce the scope of some tests when running with race detector,
// as it raises the memory consumption significantly. // as it raises the memory consumption significantly.
var raceTest = true const raceTest = true