# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Caller returns filename and line number info for the specified stack depths.
FillCerts sets the certs on a base.Config.
IsError returns true if the error string matches the supplied regex.
IsPError returns true if pErr's message matches the supplied regex.
IsSQLRetryableError returns true if err is retryable.
MakeCaller returns a function which will invoke Caller with the specified arguments.
MakeKey makes a new key which is the concatenation of the given inputs, in order.
MatchInOrder matches interprets the given slice of strings as a slice of regular expressions and checks that they match, in order and without overlap, against the given string.
NewNodeTestBaseContext creates a base context for testing.
NewPartitionableConn wraps serverConn in a PartitionableConn.
NewTestBaseContext creates a secure base context for user.
NightlyStress returns true iff the process is running as part of CockroachDB's nightly stress tests.
ReadAllFiles reads all of the files matching pattern, thus ensuring they are in the OS buffer cache.
SortStructs sorts the given slice of structs using the given fields as the ordered sort keys.
SucceedsSoon fails the test (with t.Fatal) unless the supplied function runs without error within a preset maximum duration.
SucceedsSoonDepth is like SucceedsSoon() but with an additional stack depth offset.
TempDir creates a directory and a function to clean it up at the end of the test.
# Constants
DefaultSucceedsSoonDuration is the maximum amount of time unittests will wait for a condition to become true.
# Structs
PartitionableConn is an implementation of net.Conn that allows the client->server and/or the server->client directions to be temporarily partitioned.