redict/tests
Alon Diamant 288028876f Added <count> parameter to SPOP:
spopCommand() now runs spopWithCountCommand() in case the <count> param is found.
Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size.
Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers().
Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof
--
Cleaned up code a bit to match with required Redis coding style
2014-12-14 12:25:42 +02:00
..
assets Test: enable latency monitor in the default config. 2014-07-10 15:04:34 +02:00
cluster Cluster test: helpers/onlydots.tcl: detect EOF and exit. 2014-10-08 10:17:01 +02:00
helpers Regression test for issue 417 (memory leak when replicating to DB with id >= 10) 2012-03-30 10:26:07 +02:00
integration Added <count> parameter to SPOP: 2014-12-14 12:25:42 +02:00
sentinel Spell software correctly 2014-09-29 06:49:07 -04:00
support Test: wait for actual startup in start_server. 2014-11-28 11:49:26 +01:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Added <count> parameter to SPOP: 2014-12-14 12:25:42 +02:00
instances.tcl Spell software correctly 2014-09-29 06:49:07 -04:00
test_helper.tcl Test: try to cleanup still running Redis instances on exit. 2014-11-28 11:38:17 +01:00