mirror of
https://github.com/minio/minio.git
synced 2025-11-25 20:16:10 -05: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:
@@ -23,7 +23,6 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"encoding/xml"
|
||||
"net/http"
|
||||
@@ -35,8 +34,6 @@ import (
|
||||
"github.com/minio/minio/pkg/server/api"
|
||||
)
|
||||
|
||||
func TestAPISignatureV4(t *testing.T) { TestingT(t) }
|
||||
|
||||
type MyAPISignatureV4Suite struct {
|
||||
root string
|
||||
req *http.Request
|
||||
|
||||
Reference in New Issue
Block a user