diff options
| author | Chris Lu <chris.lu@gmail.com> | 2013-11-10 01:31:50 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2013-11-10 01:31:50 -0800 |
| commit | 1888d01fa0329f60732ab6d7defc95ee257af4e0 (patch) | |
| tree | 8444dbaaf0c3fd5c4ac33c31e177bc9b883cdd58 /go/topology/topo_test.go | |
| parent | 5cb6590eaee59bd02fbe3e58084aba8079861112 (diff) | |
| download | seaweedfs-1888d01fa0329f60732ab6d7defc95ee257af4e0.tar.xz seaweedfs-1888d01fa0329f60732ab6d7defc95ee257af4e0.zip | |
adding etcd storage support for cluster meta data. Currently just
sequence. More to come...
Diffstat (limited to 'go/topology/topo_test.go')
| -rw-r--r-- | go/topology/topo_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/go/topology/topo_test.go b/go/topology/topo_test.go index d5ea08086..36f4963db 100644 --- a/go/topology/topo_test.go +++ b/go/topology/topo_test.go @@ -1,6 +1,7 @@ package topology import ( + "code.google.com/p/weed-fs/go/sequence" "code.google.com/p/weed-fs/go/storage" "encoding/json" "fmt" @@ -78,7 +79,7 @@ func setup(topologyLayout string) *Topology { } //need to connect all nodes first before server adding volumes - topo, err := NewTopology("mynetwork", "/etc/weed.conf", "/tmp", "test", 234, 5) + topo, err := NewTopology("mynetwork", "/etc/weed.conf", sequence.NewMemorySequencer(), 234, 5) if err != nil { fmt.Println("error:", err) } |
