mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-06 19:07:50 +00:00
have test use the cluster.Start helper to avoid port conflicts
cluster.Start creates ephemeral ports for all the etcd stuff, whereas node.Start uses the default config. I don't know why this test was using the node.Start, but it passes without it.
This commit is contained in:
parent
6cc5d198ee
commit
04b13d9eb6
1 changed files with 1 additions and 1 deletions
|
|
@ -1405,7 +1405,7 @@ func TestCluster_TranslateStore(t *testing.T) {
|
|||
),
|
||||
)
|
||||
|
||||
if err := cluster.GetIdleNode(0).Start(); err != nil {
|
||||
if err := cluster.Start(); err != nil {
|
||||
t.Fatalf("starting node 0: %v", err)
|
||||
}
|
||||
defer cluster.GetIdleNode(0).Close() // nolint: errcheck
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue