Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestMain (0.08 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))
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. api/go1.4.txt

    pkg syscall (windows-amd64), func FullPath(string) (string, error)
    
    # CL 98150043 testing: add Coverage function, Russ Cox <******@****.***>
    pkg testing, func Coverage() float64
    
    # CL 148770043 cmd/go, testing: add TestMain support, Russ Cox <******@****.***>
    pkg testing, func MainStart(func(string, string) (bool, error), []InternalTest, []InternalBenchmark, []InternalExample) *M
    pkg testing, method (*M) Run() int
    pkg testing, type M struct
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
Back to top