Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resetTestGlobals (0.25 sec)

  1. cmd/admin-handlers_test.go

    // Erasure backend for admin-handler tests.
    func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) {
    	ctx, cancel := context.WithCancel(ctx)
    
    	// reset global variables to start afresh.
    	resetTestGlobals()
    
    	// Set globalIsErasure to indicate that the setup uses an erasure
    	// code backend.
    	globalIsErasure = true
    
    	// Initializing objectLayer for HealFormatHandler.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	setMaxResources(nil)
    
    	// Initialize globalConsoleSys system
    	globalConsoleSys = NewConsoleLogger(context.Background())
    
    	globalInternodeTransport = NewInternodeHTTPTransport(0)()
    
    	initHelp()
    
    	resetTestGlobals()
    
    	globalIsCICD = true
    
    	os.Exit(m.Run())
    }
    
    // concurrency level for certain parallel tests.
    const testConcurrencyLevel = 10
    
    const iso8601TimeFormat = "2006-01-02T15:04:05.000Z"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top