mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00
Update unit tests to use in-memory lock manager
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:

committed by
Matthew Heon

parent
35361595f3
commit
625c7e18ef
@ -17,8 +17,10 @@ import (
|
||||
// to test without actually having multiple processes...
|
||||
// We can at least verify that the locks work within the local process.
|
||||
|
||||
// 4 * BITMAP_SIZE to ensure we have to traverse bitmaps
|
||||
var numLocks uint32 = 4 * BitmapSize
|
||||
var (
|
||||
// 4 * BITMAP_SIZE to ensure we have to traverse bitmaps
|
||||
numLocks = 4 * BitmapSize
|
||||
)
|
||||
|
||||
const lockPath = "/libpod_test"
|
||||
|
||||
|
Reference in New Issue
Block a user