Browse Source

format

tikv
Chris Lu 5 years ago
parent
commit
564629444b
  1. 4
      weed/topology/volume_growth_test.go

4
weed/topology/volume_growth_test.go

@ -328,7 +328,7 @@ func TestFindEmptySlotsForOneVolumeScheduleByWeight(t *testing.T) {
t.Fail()
}
for _, server := range servers {
fmt.Println("assigned node :", server.Id())
// fmt.Println("assigned node :", server.Id())
if _, ok := distribution[server.id]; !ok {
distribution[server.id] = 0
}
@ -337,6 +337,6 @@ func TestFindEmptySlotsForOneVolumeScheduleByWeight(t *testing.T) {
}
for k, v := range distribution {
fmt.Println(k, "%s : %d", k, v)
fmt.Printf("%s : %d\n", k, v)
}
}
Loading…
Cancel
Save