From 7eecb5e246dcba22b280a75830242eb7bffcc076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Gill=C3=A9?= Date: Sat, 27 Jan 2024 15:59:44 +0100 Subject: [PATCH] Fix concurrency tests A past change added the delete but forgot the required write --- test/test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test.go b/test/test.go index 43af018..d29a55d 100644 --- a/test/test.go +++ b/test/test.go @@ -363,4 +363,9 @@ func InteractWithStore(store gokv.Store, key string, t *testing.T, waitGroup *sy if err != nil { t.Error(err) } + // Final write so the caller can iterate over all keys sequentially and check if they exist + err = store.Set(key, Foo{}) + if err != nil { + t.Error(err) + } }