From c3928b5e92dd66e9a22d497935a878b59cb26b36 Mon Sep 17 00:00:00 2001 From: Wangchong Zhou Date: Sun, 4 Aug 2024 15:35:59 +0800 Subject: [PATCH] fix(tests) uses v3 protocol for etcd --- t/storage/etcd.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/storage/etcd.t b/t/storage/etcd.t index 418ee06..97732b2 100644 --- a/t/storage/etcd.t +++ b/t/storage/etcd.t @@ -10,7 +10,7 @@ our $HttpConfig = qq{ lua_package_path "$pwd/lib/?.lua;$pwd/lib/?/init.lua;$pwd/../lib/?.lua;$pwd/../lib/?/init.lua;;"; init_by_lua_block { _G.test_lib = require("resty.acme.storage.etcd") - _G.test_cfg = nil + _G.test_cfg = { protocol = "v3" } _G.test_ttl = 1 } };