fixture

package
v0.99.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParallelRaceCompute

func ParallelRaceCompute(tb testing.TB, count int, fn func() error)

ParallelRaceCompute starts `count` number of go routines that calls the provided function `fn` at the same to allow the race detector greater oppotunity to capture known race conditions. This method blocks until each count number of fn has completed, any returned errors is considered a failing test method. If the race detector is not enabled, the function then skips with an notice. This is intended to show that a test was intentionally skipped instead of just missing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL