Documentation ¶
Overview ¶
Package tests contains common storage tests and some test utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetryUntilAvailable ¶
RetryUntilAvailable calls callback repeatedly until callback return nil error or until test timeout will be reached.
func TestCredentials ¶
func TestCredentials(t *testing.T, cred Credentials)
TestCredentials runs different tests for given credentials storage implementation.
func TestPeerStorage ¶
func TestPeerStorage(t *testing.T, st storage.PeerStorage)
TestPeerStorage runs different tests for given peer storage implementation.
Types ¶
Click to show internal directories.
Click to hide internal directories.