基于serf的数据库同步模块库
liuxiaolong
2020-09-16 4f3a5a019ca1e5a3c81acdd4124253e7a86bc6d0
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)
   }