Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MIN_REST_DURATION = 1 * time.Millisecond MAX_REST_DURATION = 5 * time.Millisecond MIN_BURST_DURATION = 1 * time.Millisecond MAX_BURST_DURATION = 10 * time.Millisecond )
Functions ¶
func StartCpuSchedulingJitter ¶
func StartCpuSchedulingJitter()
creates ongoing random bursts of cpu noise (all cores together) to make goroutine scheduling erratic in -count 100 flakiness tests
func WithContext ¶
Types ¶
type Latch ¶
type Latch struct {
// contains filtered or unexported fields
}
func (*Latch) ReturnWhenLatchIsPaused ¶
func (*Latch) ReturnWhenLatchIsResumed ¶
Click to show internal directories.
Click to hide internal directories.