yoav
|
4930d903fc
Fix eval usage in tests to conform with eval semantics
|
hace 10 años |
antirez
|
9a914a632d
"SORT by nosort" (skip sorting) respect sorted set ordering.
|
hace 12 años |
antirez
|
6a3f0ac68a
Added test for SORT corner case: pattern ending with just "->".
|
hace 12 años |
antirez
|
44d77bb217
A few SORT tests made more resistant to false negatives resulitng from poor randomization of Redis hash function with one byte inputs.
|
hace 13 años |
antirez
|
01f75bf352
New SORT tests checking the new more deterministic behavior of SORT sorting algorithm.
|
hace 13 años |
antirez
|
de79a2ee12
Make SORT BY <constant> STORE ... to always produce the same output by force sorting, so that we have deterministic replication of this command.
|
hace 13 años |
antirez
|
2c861050c1
SORT is now more deterministic: does not accept to compare by score items that have scores not representing a valid double. Also items with the same score are compared lexycographically. At the same time the scripting side introduced the ability to sort the output of SORT when sort uses the BY <constant> optimization, resulting in no specific ordering. Since in this case the user may use GET, and the result of GET can be null, converted into false as Lua data type, this commit also introduces the ability to sort Lua tables containining false, only if the first (faster) attempt at using just table.sort with a single argument fails.
|
hace 13 años |
Michal Kwiatkowski
|
a0bf8d0ad8
SORT with STORE removes key if result is empty. This fixes issue #227.
|
hace 13 años |
BigCat
|
f54c299091
I found that no test will fail even if I broke the `SORT x LIMIT y z` code.
|
hace 13 años |
antirez
|
237194b760
Fixed SORT bugs (issue #224) with regression tests.
|
hace 13 años |
Pieter Noordhuis
|
6f8a32d5c7
Be less verbose in testing; improve error handling
|
hace 14 años |
Pieter Noordhuis
|
dc11daf3b5
Change tests to use either the inline or the multibulk protocol
|
hace 14 años |
antirez
|
452ccf7a41
SORT stress testing against bigger aggregate values
|
hace 14 años |
Pieter Noordhuis
|
029e5577ff
Make SORT use the hybrid set accessors to allow sorting intsets
|
hace 14 años |
Pieter Noordhuis
|
2b9a59471f
SORT tests with hash table encoded set as input
|
hace 14 años |
Pieter Noordhuis
|
ced6709cb9
Make SORT tests use both ziplists and linked lists as input
|
hace 14 años |
Pieter Noordhuis
|
5d4f3a8c85
Move SORT tests around
|
hace 14 años |
Pieter Noordhuis
|
7a6ae0a2b2
scope res variable outside test
|
hace 14 años |
Pieter Noordhuis
|
7f7499eeac
tags for existing tests
|
hace 14 años |
Pieter Noordhuis
|
9e5d2e8bd6
changed how server.tcl accepts options to support more directives without requiring more arguments to the proc
|
hace 14 años |
antirez
|
ab72b4833d
minor fixes to the new test suite, html doc updated
|
hace 14 años |