Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/etcd-io/etcd
/ BeforeTest
Method
BeforeTest
tests/framework/interfaces/interface.go:27–27 ·
view source on GitHub ↗
(testing.TB)
Source
from the content-addressed store, hash-verified
25
type
TestRunner
interface
{
26
TestMain(m *testing.M)
27
BeforeTest(testing.TB)
28
NewCluster(context.Context, testing.TB, ...config.ClusterOption) Cluster
29
}
30
Callers
15
TestAuthTokenBundleNoOverwrite
Function · 0.65
TestMinSupportedVersion
Function · 0.65
TestClientRejectOldCluster
Function · 0.65
TestCompactionHash
Function · 0.65
TestV3WatchRestoreSnapshotUnsync
Function · 0.65
TestBeforeTestWithoutLeakDetection
Function · 0.65
TestElectionWait
Function · 0.65
TestElectionFailover
Function · 0.65
TestElectionSessionRecampaign
Function · 0.65
TestElectionOnPrefixOfExistingKey
Function · 0.65
TestElectionOnSessionRestart
Function · 0.65
TestElectionObserveCompacted
Function · 0.65
Implementers
3
integrationRunner
tests/framework/integration/integratio
unitRunner
tests/framework/unit/unit.go
e2eRunner
tests/framework/e2e/e2e.go
Calls
no outgoing calls
Tested by
15
TestAuthTokenBundleNoOverwrite
Function · 0.52
TestMinSupportedVersion
Function · 0.52
TestClientRejectOldCluster
Function · 0.52
TestCompactionHash
Function · 0.52
TestV3WatchRestoreSnapshotUnsync
Function · 0.52
TestBeforeTestWithoutLeakDetection
Function · 0.52
TestElectionWait
Function · 0.52
TestElectionFailover
Function · 0.52
TestElectionSessionRecampaign
Function · 0.52
TestElectionOnPrefixOfExistingKey
Function · 0.52
TestElectionOnSessionRestart
Function · 0.52
TestElectionObserveCompacted
Function · 0.52