Documentation ¶
Index ¶
- func TestBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestBatchWithIndividualRetry(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestDeletes(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestGetStateMultipleKeys(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestGetVersion(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestIterator(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestMultiDBBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestQuery(t *testing.T, dbProvider statedb.VersionedDBProvider)
- func TestSmallBatchSize(t *testing.T, dbProvider statedb.VersionedDBProvider)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestBasicRW ¶
func TestBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestBasicRW tests basic read-write
func TestBatchWithIndividualRetry ¶ added in v1.1.0
func TestBatchWithIndividualRetry(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestBatchWithIndividualRetry tests a single failure in a batch
func TestDeletes ¶
func TestDeletes(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestDeletes tests deletes
func TestGetStateMultipleKeys ¶
func TestGetStateMultipleKeys(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestGetStateMultipleKeys tests read for given multiple keys
func TestGetVersion ¶ added in v1.1.0
func TestGetVersion(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestGetVersion tests retrieving the version by namespace and key
func TestIterator ¶
func TestIterator(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestIterator tests the iterator
func TestMultiDBBasicRW ¶
func TestMultiDBBasicRW(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestMultiDBBasicRW tests basic read-write on multiple dbs
func TestQuery ¶
func TestQuery(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestQuery tests queries
func TestSmallBatchSize ¶ added in v1.1.0
func TestSmallBatchSize(t *testing.T, dbProvider statedb.VersionedDBProvider)
TestSmallBatchSize tests multiple update batches
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.