Documentation ¶
Index ¶
- func FinishTest(t *testing.T, dir string, seed1, seed2 int64, keys, blocks int)
- func InsertRandomKeys(prefix string, n int, r repo.Repo) (int64, error)
- func NewTestRepo(t *testing.T, spec map[string]interface{}) (string, func(t *testing.T))
- func OpenRepo(repoPath string) (repo.Repo, error)
- func PatchConfig(t *testing.T, configPath string, newSpecPath string)
- func PrepareTest(t *testing.T, keys, blocks int) (string, func(t *testing.T), int64, int64)
- func Verify(prefix string, n int, seed int64, r repo.Repo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertRandomKeys ¶
InsertRandomKeys puts random keys in a repo.
func NewTestRepo ¶
NewTestRepo creates a new repo for testing.
func PatchConfig ¶
PatchConfig replaces the datastore configuration in an existing configuration file.
func PrepareTest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.