Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_main (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)
Back to top