var _timeoutScale … // Timeout scales the provided duration by $TEST_TIMEOUT_SCALE. func Timeout(base time.Duration) time.Duration { … } // Sleep scales the sleep duration by $TEST_TIMEOUT_SCALE. func Sleep(base time.Duration) { … } // Initialize checks the environment and alters the timeout scale accordingly. // It returns a function to undo the scaling. func Initialize(factor string) func() { … } func init() { … }