From ca2652d724c91bcc0849c749d10f2b9af8129a09 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 24 十月 2019 11:35:21 +0800
Subject: [PATCH] fix node leave and join
---
agent_test.go | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/agent_test.go b/agent_test.go
index fbabde6..da7e004 100644
--- a/agent_test.go
+++ b/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)
}
--
Gitblit v1.8.0