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