portworx / kvdb

Generic Key-Value interface
Apache License 2.0
40 stars 12 forks source link

PWX-30091: Unit test changes #111

Closed nrevanna closed 1 year ago

nrevanna commented 1 year ago

kv.domain was being added twice for locks. Remove that to make it a single entry

In kv_mem, swapping the logic so that existence of key is checked first and then it being a valid key for a lock.

What this PR does / why we need it:

Which issue(s) this PR fixes (optional) Closes #

Special notes for your reviewer: