yoav
|
4930d903fc
Fix eval usage in tests to conform with eval semantics
|
преди 10 години |
antirez
|
9a914a632d
"SORT by nosort" (skip sorting) respect sorted set ordering.
|
преди 12 години |
antirez
|
6a3f0ac68a
Added test for SORT corner case: pattern ending with just "->".
|
преди 12 години |
antirez
|
44d77bb217
A few SORT tests made more resistant to false negatives resulitng from poor randomization of Redis hash function with one byte inputs.
|
преди 13 години |
antirez
|
01f75bf352
New SORT tests checking the new more deterministic behavior of SORT sorting algorithm.
|
преди 13 години |
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.
|
преди 13 години |
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.
|
преди 13 години |
Michal Kwiatkowski
|
a0bf8d0ad8
SORT with STORE removes key if result is empty. This fixes issue #227.
|
преди 13 години |
BigCat
|
f54c299091
I found that no test will fail even if I broke the `SORT x LIMIT y z` code.
|
преди 13 години |
antirez
|
237194b760
Fixed SORT bugs (issue #224) with regression tests.
|
преди 13 години |
Pieter Noordhuis
|
6f8a32d5c7
Be less verbose in testing; improve error handling
|
преди 14 години |
Pieter Noordhuis
|
dc11daf3b5
Change tests to use either the inline or the multibulk protocol
|
преди 14 години |
antirez
|
452ccf7a41
SORT stress testing against bigger aggregate values
|
преди 14 години |
Pieter Noordhuis
|
029e5577ff
Make SORT use the hybrid set accessors to allow sorting intsets
|
преди 14 години |
Pieter Noordhuis
|
2b9a59471f
SORT tests with hash table encoded set as input
|
преди 14 години |
Pieter Noordhuis
|
ced6709cb9
Make SORT tests use both ziplists and linked lists as input
|
преди 14 години |
Pieter Noordhuis
|
5d4f3a8c85
Move SORT tests around
|
преди 14 години |
Pieter Noordhuis
|
7a6ae0a2b2
scope res variable outside test
|
преди 14 години |
Pieter Noordhuis
|
7f7499eeac
tags for existing tests
|
преди 14 години |
Pieter Noordhuis
|
9e5d2e8bd6
changed how server.tcl accepts options to support more directives without requiring more arguments to the proc
|
преди 14 години |
antirez
|
ab72b4833d
minor fixes to the new test suite, html doc updated
|
преди 14 години |