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

Method Restart

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

Source from the content-addressed store, hash-verified

142}
143
144func (c *TestCluster) Restart() error {
145 for _, n := range c.nodes {
146 n.Close()
147 }
148 for _, n := range c.nodes {
149 if err := n.run(); err != nil {
150 return err
151 }
152 }
153 return nil
154}
155
156func (c *TestCluster) Close() {
157 for _, n := range c.nodes {

Callers 1

TestTriggerSnapshotFunction · 0.95

Calls 2

runMethod · 0.80
CloseMethod · 0.65

Tested by

no test coverage detected