aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-05-06 02:25:56 -0700
committerchrislu <chris.lu@gmail.com>2022-05-06 02:25:56 -0700
commit10207a48a45ff9299918fdeaa78827ab2882f993 (patch)
tree7feadc76fc744f7574930426bf4f440f6d0b0e88
parentdb33b0373532fbd34472bda12e91910634b46fc4 (diff)
downloadseaweedfs-10207a48a45ff9299918fdeaa78827ab2882f993.tar.xz
seaweedfs-10207a48a45ff9299918fdeaa78827ab2882f993.zip
how to setup local test env
-rw-r--r--weed/filer/etcd/etcd_store_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/filer/etcd/etcd_store_test.go b/weed/filer/etcd/etcd_store_test.go
index a02c1b5ae..824c28f5a 100644
--- a/weed/filer/etcd/etcd_store_test.go
+++ b/weed/filer/etcd/etcd_store_test.go
@@ -6,7 +6,9 @@ import (
)
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.initialize("localhost:2379", "3s")
store_test.TestFilerStore(t, store)