Documentation ¶
Index ¶
Constants ¶
View Source
const ( RPCPort = 1101 MetricsPort = 1102 MongoConnectionURI = "mongodb://localhost:27017" MongoConnectionTimeoutSec = 5 MongoPingTimeoutSec = 5 SnapshotThreshold = 10 Collection = "test-collection" )
Below are the values of the Yorkie config used in the test.
Variables ¶
This section is empty.
Functions ¶
func ByteCountIEC ¶
ByteCountIEC returns humanized size in IEC(binary) format.
func PrintSnapshotBytesSize ¶
func PrintSnapshotBytesSize(bytes []byte)
PrintSnapshotBytesSize prints the humanized size of the given snapshot.
func TestDBName ¶
func TestDBName() string
TestDBName returns the name of test database with timestamp. timestamp is set only once on first call.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.