Documentation ¶
Overview ¶
Package storetest provides a helper for testing throttled stores.
Package storetest provides a helper for testing throttled stores.
Index ¶
- func BenchmarkGCRAStore(b *testing.B, st throttled.GCRAStore)deprecated
- func BenchmarkGCRAStoreCtx(b *testing.B, st throttled.GCRAStoreCtx)
- func TestGCRAStore(t *testing.T, st throttled.GCRAStore)deprecated
- func TestGCRAStoreCtx(t *testing.T, st throttled.GCRAStoreCtx)
- func TestGCRAStoreTTL(t *testing.T, st throttled.GCRAStore)deprecated
- func TestGCRAStoreTTLCtx(t *testing.T, st throttled.GCRAStoreCtx)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BenchmarkGCRAStore
deprecated
func BenchmarkGCRAStoreCtx ¶ added in v2.10.0
BenchmarkGCRAStoreCtx runs parallel benchmarks against a GCRAStore implementation. Aside from being useful for performance testing, this is useful for finding race conditions with the Go race detector.
func TestGCRAStore
deprecated
func TestGCRAStoreCtx ¶ added in v2.10.0
TestGCRAStoreCtx tests the behavior of a GCRAStore implementation for compliance with the throttled API. It does not require support for TTLs.
func TestGCRAStoreTTL
deprecated
func TestGCRAStoreTTLCtx ¶ added in v2.10.0
TestGCRAStoreTTLCtx tests the behavior of TTLs in a GCRAStore implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.