Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testWarn (0.14 sec)

  1. internal/dsync/dsync_test.go

    	testDrwMutexUnlockCallTimeout      = 250 * time.Millisecond
    	testDrwMutexForceUnlockCallTimeout = 250 * time.Millisecond
    	testDrwMutexRefreshInterval        = 100 * time.Millisecond
    )
    
    // TestMain initializes the testing framework
    func TestMain(m *testing.M) {
    	startLockServers()
    
    	// Initialize locker clients for dsync.
    	var clnts []NetLocker
    	for i := 0; i < len(nodes); i++ {
    		clnts = append(clnts, newClient(nodes[i].URL))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/hash"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // TestMain to set up global env.
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	// set to 'true' when testing is invoked
    	globalIsTesting = true
    
    	globalIsCICD = globalIsTesting
    
    	globalActiveCred = auth.Credentials{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. internal/arn/arn_test.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package arn
    
    import (
    	"reflect"
    	"testing"
    )
    
    func TestARN_String(t *testing.T) {
    	tests := []struct {
    		arn  ARN
    		want string
    	}{
    		{
    			arn: ARN{
    				Partition:    "minio",
    				Service:      "iam",
    				Region:       "us-east-1",
    				ResourceType: "role",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top