Skip to content

Commit

Permalink
Merge pull request #176 from philippgille/fix-concurrency-tests
Browse files Browse the repository at this point in the history
Fix concurrency tests
  • Loading branch information
philippgille authored Jan 27, 2024
2 parents ac2f444 + 7eecb5e commit 362a2b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 362a2b8

Please # to comment.