Commit 508a7e3f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e7625f45
...@@ -79,9 +79,7 @@ type ITestClient interface { ...@@ -79,9 +79,7 @@ type ITestClient interface {
// tNewCluster creates new NEO test cluster. // tNewCluster creates new NEO test cluster.
// //
// XXX ... // At the end of the test the cluster has to be stopped via t.Stop().
//
// XXX defer t.Stop()
func tNewCluster(ttest *tracetest.T, name string) *tCluster { func tNewCluster(ttest *tracetest.T, name string) *tCluster {
t := &tCluster{ t := &tCluster{
T: ttest, T: ttest,
...@@ -107,7 +105,7 @@ func tNewCluster(ttest *tracetest.T, name string) *tCluster { ...@@ -107,7 +105,7 @@ func tNewCluster(ttest *tracetest.T, name string) *tCluster {
// Stop stops the cluster. // Stop stops the cluster.
// //
// All processes of the cluster are stopped ... XXX // After Stop completes all processes of the cluster are stopped.
func (t *tCluster) Stop() { func (t *tCluster) Stop() {
t.Helper() t.Helper()
t.gotracer.Detach() t.gotracer.Detach()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment