MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / Close

Method Close

store/engine/raft/node_test.go:156–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154}
155
156func (c *TestCluster) Close() {
157 for _, n := range c.nodes {
158 n.Close()
159 os.RemoveAll(n.config.DataDir)
160 }
161}
162
163func TestCluster_SingleNode(t *testing.T) {
164 cluster := NewTestCluster(1)

Callers 4

TestCluster_SingleNodeFunction · 0.95
TestCluster_MultiNodesFunction · 0.95
TestTriggerSnapshotFunction · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected