| fdafe233 | 27-Jul-2016 |
antirez <[email protected]> |
Multiple GEORADIUS bugs fixed.
By grepping the continuous integration errors log a number of GEORADIUS tests failures were detected.
Fortunately when a GEORADIUS failure happens, the test suite log
Multiple GEORADIUS bugs fixed.
By grepping the continuous integration errors log a number of GEORADIUS tests failures were detected.
Fortunately when a GEORADIUS failure happens, the test suite logs enough information in order to reproduce the problem: the PRNG seed, coordinates and radius of the query.
By reproducing the issues, three different bugs were discovered and fixed in this commit. This commit also improves the already good reporting of the fuzzer and adds the failure vectors as regression tests.
The issues found:
1. We need larger squares around the poles in order to cover the area requested by the user. There were already checks in order to use a smaller step (larger squares) but the limit set (+/- 67 degrees) is not enough in certain edge cases, so 66 is used now.
2. Even near the equator, when the search area center is very near the edge of the square, the north, south, west or ovest square may not be able to fully cover the specified radius. Now a test is performed at the edge of the initial guessed search area, and larger squares are used in case the test fails.
3. Because of rounding errors between Redis and Tcl, sometimes the test signaled false positives. This is now addressed.
Whenever possible the original code was improved a bit in other ways. A debugging example stanza was added in order to make the next debugging session simpler when the next bug is found.
show more ...
|
| 940be9ab | 06-Jul-2016 |
antirez <[email protected]> |
Regression test for issue #3333. |
| 7a3a595f | 28-Jun-2016 |
antirez <[email protected]> |
Test: new randomized stress tester for #3343 alike bugs. |
| c75ca104 | 28-Jun-2016 |
antirez <[email protected]> |
Stress tester WIP. |
| 2c3fcf87 | 28-Jun-2016 |
antirez <[email protected]> |
Regression test for issue #3343 exact min crash sequence.
Note: it was verified that it can crash the test suite without the patch applied. |
| f1c237cb | 15-Jun-2016 |
antirez <[email protected]> |
Test TOUCH and new TTL / TYPE behavior about object access time. |
| 0cb86064 | 15-Jun-2016 |
antirez <[email protected]> |
Regression test for #3282. |
| b4e5e2ec | 31-May-2016 |
antirez <[email protected]> |
Now that SPOP can be called by scripts use BLPOP on 's' flag test. |
| f991cdc3 | 18-May-2016 |
antirez <[email protected]> |
Test for BITFIELD regression #3221. |
| cfc08b65 | 25-Apr-2016 |
Oran Agra <[email protected]> |
various cleanups and minor fixes |
| 1101b515 | 02-May-2016 |
antirez <[email protected]> |
Test ZINCRBY return value. |
| 258857cd | 02-Mar-2016 |
antirez <[email protected]> |
BITFIELD: overflow wrap behavior fuzz tester. |
| 35d05d6d | 02-Mar-2016 |
antirez <[email protected]> |
BITFIELD basic unit tests. |
| b4d65c95 | 02-Mar-2016 |
antirez <[email protected]> |
BITFIELD: overflow fuzzy testing. |
| d75e0fdb | 02-Mar-2016 |
antirez <[email protected]> |
Fix typo in bitops.tcl comment. |
| 123cd882 | 18-Feb-2016 |
antirez <[email protected]> |
GEOADD STORE/STOREDIST tests. |
| 5fd61c95 | 08-Jan-2016 |
antirez <[email protected]> |
Scripting: handle trailing comments.
This fix, provided by Paul Kulchenko (@pkulchenko), allows the Lua scripting engine to evaluate statements with a trailing comment like the following one:
E
Scripting: handle trailing comments.
This fix, provided by Paul Kulchenko (@pkulchenko), allows the Lua scripting engine to evaluate statements with a trailing comment like the following one:
EVAL "print() --comment" 0
Lua can't parse the above if the string does not end with a newline, so now a final newline is always added automatically. This does not change the SHA1 of scripts since the SHA1 is computed on the body we pass to EVAL, without the other code we add to register the function.
Close #2951.
show more ...
|
| 9cd1cd66 | 03-Nov-2015 |
antirez <[email protected]> |
Test: improve PFCOUNT with multiple keys testing.
An user raised a question about a given behavior of PFCOUNT. Added a test to show the behavior (union) is correct when most of the items are in comm
Test: improve PFCOUNT with multiple keys testing.
An user raised a question about a given behavior of PFCOUNT. Added a test to show the behavior (union) is correct when most of the items are in common.
show more ...
|
| f99be541 | 11-Dec-2015 |
antirez <[email protected]> |
MIGRATE: test more corner cases. |
| d6bc17c2 | 11-Dec-2015 |
antirez <[email protected]> |
Test: pipelined MIGRATE tests added. |
| e20542eb | 30-Oct-2015 |
antirez <[email protected]> |
Scripting: commands replication tests. |
| fdc8e0bd | 30-Oct-2015 |
antirez <[email protected]> |
Scripting: execute tests with command replication as well. |
| f0434cae | 30-Oct-2015 |
antirez <[email protected]> |
Scripting: test Redis provided Lua functions error reporting. |
| 589c41e4 | 06-Oct-2015 |
antirez <[email protected]> |
Regression test for GEORADIUS COUNT arity check. |
| 846da5b2 | 15-Sep-2015 |
antirez <[email protected]> |
Test: fix false positive in HSTRLEN test.
HINCRBY* tests later used the value "tmp" that was sometimes generated by the random key generation function. The result was ovewriting what Tcl expected to
Test: fix false positive in HSTRLEN test.
HINCRBY* tests later used the value "tmp" that was sometimes generated by the random key generation function. The result was ovewriting what Tcl expected to be inside Redis with another value, causing the next HSTRLEN test to fail.
show more ...
|