package xtest
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/xtest"
Index ¶
- func SpinWaitCondition(t testing.TB, l sync.Locker, cond func() bool)
- func TestManyTimes(t testing.TB, test TestFunc)
- func TestManyTimesWithName(t *testing.T, name string, test TestFunc)
- func WaitChannelClosed(t testing.TB, ch empty.Chan)
- type TestFunc
Functions ¶
func SpinWaitCondition ¶
SpinWaitCondition wait while cond return true with check it in loop l can be nil - then locker use for check conditions
func TestManyTimes ¶
func TestManyTimesWithName ¶
func WaitChannelClosed ¶
Types ¶
type TestFunc ¶
Source Files ¶
- Version
- v3.31.0
- Published
- Aug 1, 2022
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 minutes ago –
Tools for package owners.