aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_ec_test.go')
-rw-r--r--weed/shell/command_ec_test.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/weed/shell/command_ec_test.go b/weed/shell/command_ec_test.go
index 33befce8f..fa6697435 100644
--- a/weed/shell/command_ec_test.go
+++ b/weed/shell/command_ec_test.go
@@ -1,25 +1,12 @@
package shell
import (
- "fmt"
"testing"
"github.com/seaweedfs/seaweedfs/weed/pb/master_pb"
"github.com/seaweedfs/seaweedfs/weed/storage/needle"
)
-func TestCommandEcDistribution(t *testing.T) {
-
- allEcNodes := []*EcNode{
- newEcNode("dc1", "rack1", "dn1", 100),
- newEcNode("dc1", "rack2", "dn2", 100),
- }
-
- allocated := balancedEcDistribution(allEcNodes)
-
- fmt.Printf("allocated: %+v", allocated)
-}
-
func TestCommandEcBalanceSmall(t *testing.T) {
ecb := &ecBalancer{
ecNodes: []*EcNode{