Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resetGlobalIAMSys (0.16 sec)

  1. cmd/test-utils_test.go

    		for _, v := range globalBackgroundHealState.healSeqMap {
    			if !v.hasEnded() {
    				v.stop()
    			}
    		}
    		globalBackgroundHealState.Unlock()
    	}
    }
    
    // sets globalIAMSys to `nil`.
    func resetGlobalIAMSys() {
    	globalIAMSys = nil
    }
    
    // Resets all the globals used modified in tests.
    // Resetting ensures that the changes made to globals by one test doesn't affect others.
    func resetTestGlobals() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top