fix: revalidate cache of getter

This commit is contained in:
Geun-Oh
2024-04-13 00:42:29 +09:00
parent d4b1c839e3
commit 8e3d3f928f

View File

@@ -40,7 +40,7 @@ func Test_CloudflareKV_Get(t *testing.T) {
result, err := testStore.Get(key)
for {
for i := 0; i < 2; i++ {
result, err = testStore.Get(key)
if bytes.NewBuffer(result).String() == "" {
_ = testStore.Set(key, val, 0)