mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
how to setup local test env
This commit is contained in:
parent
db33b03735
commit
10207a48a4
|
@ -6,7 +6,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestStore(t *testing.T) {
|
func TestStore(t *testing.T) {
|
||||||
if false { // turn on the testing when local env is set up
|
// run "make test_etcd" under docker folder.
|
||||||
|
// to set up local env
|
||||||
|
if false {
|
||||||
store := &EtcdStore{}
|
store := &EtcdStore{}
|
||||||
store.initialize("localhost:2379", "3s")
|
store.initialize("localhost:2379", "3s")
|
||||||
store_test.TestFilerStore(t, store)
|
store_test.TestFilerStore(t, store)
|
||||||
|
|
Loading…
Reference in a new issue