diff --git a/Taskfile.yml b/Taskfile.yml index ef9700bd67..4fb12f3704 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -87,7 +87,7 @@ tasks: test-race: - go test ${BUILD_TAGS} -timeout {{.TEST_TIMEOUT}}s -race -p 1 ./... - test-short: go test ${BUILD_TAGS} -timeout 60s -short ./... + test-short: go test ${BUILD_TAGS} -timeout 60s -short -race ./... test-oidc: bash etc/run-oidc-test.sh 'task --silent evg-test-oidc-auth' diff --git a/x/mongo/driver/topology/pool_test.go b/x/mongo/driver/topology/pool_test.go index 591399a30b..910d2888a2 100644 --- a/x/mongo/driver/topology/pool_test.go +++ b/x/mongo/driver/topology/pool_test.go @@ -890,7 +890,7 @@ func TestPool(t *testing.T) { go func() { select { case nc := <-ncs: - _, err = nc.Write([]byte{5, 0, 0, 0, 0}) + _, err := nc.Write([]byte{5, 0, 0, 0, 0}) require.NoError(t, err, "Write error") case <-time.After(100 * time.Millisecond): }