基于serf的数据库同步模块库
liuxiaolong
2019-10-24 ca2652d724c91bcc0849c749d10f2b9af8129a09
agent_test.go
@@ -28,7 +28,7 @@
   conf := DefaultConfig()
   conf.ClusterID = "testCluster"
   conf.NodeName = "testnode"
   agent, err := Create(conf)
   agent, err := Create(conf, "./snapshotfile")
   if err != nil {
      t.Errorf("create agent failed, error: %s", err)
   }