yahoo / mdbm

MDBM a very fast memory-mapped key/value store.
BSD 3-Clause "New" or "Revised" License
992 stars 111 forks source link

"make test" failure on macOS #80

Open zwoop opened 7 years ago

zwoop commented 7 years ago

Testing with latest master branch, on macOS 10.13, I see

Test [ImportTestV3::TestImportNoDelete]: 0.0036 sec elapsed
.Test [ImportTestV3::TestSmallDbPageSize]: 0.0071 sec elapsed
.TESTWITHLOCKINGMODE /var/tmp/mdbm/leif-22613/mdbm-00006outexclusive
TESTWITHLOCKINGMODE /var/tmp/mdbm/leif-22613/mdbm-00007outpartition
Partition locking requires a fixed size DB.
Consider using the -d or -y options to specify the size
TESTWITHLOCKINGMODE /var/tmp/mdbm/leif-22613/mdbm-00008outshared
TESTWITHLOCKINGMODE /var/tmp/mdbm/leif-22613/mdbm-00009outnone
3:59dfd791:b6236:05855 multi_lock.cc:607 PLockFile: [/tmp/.mlock-named/var/tmp/mdbm/leif-22613/mdbm-00000input._int_] is too small 249 vs 9392 bytes
ERROR (77 No locks available) in mdbm_open_inner() mdbm.c:4188
/var/tmp/mdbm/leif-22613/mdbm-00000input: No locks available
Test [ImportTestV3::TestAllLocking]: FAILED!
FTest [ImportTestV3::TestAllLocking]: 1.0530 sec elapsed
TestSuite [ImportTestV3]: 1.0789 sec elapsed
TestSuite [All Tests]: 1.0789 sec elapsed

!!!FAILURES!!!
Test Results:
Run:  5   Failures: 1   Errors: 0

I have not investigated further into this issue, wanted to see if this is an expected failure at this time.