mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Tests were running 4 times due to multiple times the TestingT{} was being called
Calling multiple times TestingT{} will hook up runner for Suites for that many times
which would lead to repeated running tests.
Fix it by only initializing it once for all the Suites
This commit is contained in:
1 parent
555c946670
commit
0e416ea699
5 files changed
+6
-12
No files matched your search
@@ -23,7 +23,6 @@ import (
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"encoding/xml"
|
||||
"net/http"
|
||||
@@ -34,8 +33,6 @@ import (
|
||||
"github.com/minio/minio/pkg/server/api"
|
||||
)
|
||||
|
||||
func TestAPIDonut(t *testing.T) { TestingT(t) }
|
||||
|
||||
type MyAPIDonutSuite struct {
|
||||
root string
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user