diff --git a/test/init_test.go b/test/init_test.go index 5dcc55a..cd6d843 100644 --- a/test/init_test.go +++ b/test/init_test.go @@ -8,6 +8,6 @@ import ( func init() { // 设置配置默认值,模拟配置文件 - configure.SetDefault("Etcd.default", "ConsumerServer=127.0.0.1:2379|127.0.0.1:2379,DialTimeout=5000") + configure.SetDefault("Etcd.default", "Server=127.0.0.1:2379|127.0.0.1:2379,DialTimeout=5000") fs.Initialize[etcd.Module]("test etcd") }