MCPcopy
hub / github.com/etcd-io/etcd / Stop

Method Stop

tests/framework/e2e/cluster.go:1038–1052  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1036}
1037
1038func (epc *EtcdProcessCluster) Stop() (err error) {
1039 for _, p := range epc.Procs {
1040 if p == nil {
1041 continue
1042 }
1043 if curErr := p.Stop(); curErr != nil {
1044 if err != nil {
1045 err = fmt.Errorf("%w; %w", err, curErr)
1046 } else {
1047 err = curErr
1048 }
1049 }
1050 }
1051 return err
1052}
1053
1054func (epc *EtcdProcessCluster) ConcurrentStop() (err error) {
1055 errCh := make(chan error, len(epc.Procs))

Callers 8

CloseMethod · 0.95
TestDefragNoSpaceFunction · 0.95
TestFailoverOnDefragFunction · 0.95
TestReproduce17780Function · 0.95
TestGatewayFunction · 0.95

Calls 2

StopMethod · 0.65
ErrorfMethod · 0.65

Tested by 7

TestDefragNoSpaceFunction · 0.76
TestFailoverOnDefragFunction · 0.76
TestReproduce17780Function · 0.76
TestGatewayFunction · 0.76