Test suite and bug fixes....

Brad Fitzpatrick brad at danga.com
Mon Sep 4 07:48:16 UTC 2006


Today I finally got around to a test suite for memcached.  It's unearthed
a good number of edge-case bugs regarding expirations, deletes, delete
timeout locked windows, flush_all, etc.  All fixed now (in the 1.2.x trunk
version)....

To run the test suite:

$ prove test
test/00-startup.........ok
test/delete-window......ok 13/20# waiting 5 seconds for the deleter event...
test/delete-window......ok
test/getset.............ok
test/flags..............ok
test/flush-all..........ok
        2/11 skipped: flush_all is still only second-granularity.  need atomic counter on flush_all.
test/multiversioning....ok
test/bogus-commands.....ok
test/expirations........ok
test/stats..............skipped
        all skipped: Tests not written.
test/64bit..............skipped
        all skipped: Tests not written.
test/incrdecr...........skipped
        all skipped: Tests not written.
test/binary-get.........skipped
        all skipped: Tests not written.
test/managed-buckets....skipped
        all skipped: Tests not written.
test/lru................skipped
        all skipped: Tests not written.
test/slab-reassign......skipped
        all skipped: Tests not written.
test/daemonize..........skipped
        all skipped: Tests not written.
test/udp................skipped
        all skipped: Tests not written.
test/unixsocket.........skipped
        all skipped: Tests not written.
All tests successful, 11 tests and 2 subtests skipped.
Files=18, Tests=74, 15 wallclock secs ( 1.13 cusr +  0.14 csys =  1.27 CPU)


Does anybody know what Makefile.am foo is required to make "make test" run
the above?

- Brad


More information about the memcached mailing list