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