基于serf的数据库同步模块库
liuxiaolong
2021-05-31 a371b5f962bdac6c27155579237eb8ac870e23ce
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)
   }