cleanup: addresses paralleltest linter

The Go linter paralleltest checks that the t.Parallel
gets called for the test method and for the range of
test cases within the test.

Updates: #2025

Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
Yati Padia
2021-06-02 15:25:53 +05:30
committed by mergify[bot]
parent 0ee0c12027
commit 13667c013c
18 changed files with 41 additions and 0 deletions

View File

@ -37,6 +37,7 @@ func checkAndReportError(t *testing.T, msg string, err error) {
// TestFindPoolAndTopology also tests MatchTopologyForPool.
func TestFindPoolAndTopology(t *testing.T) {
t.Parallel()
var err error
var label1 = "region"
var label2 = "zone"