valkey/tests
antirez eeb905713b Fix GEORADIUS edge case with huge radius.
This commit closes issue #3698, at least for now, since the root cause
was not fixed: the bounding box function, for huge radiuses, does not
return a correct bounding box, there are points still within the radius
that are left outside.

So when using GEORADIUS queries with radiuses in the order of 5000 km or
more, it was possible to see, at the edge of the area, certain points
not correctly reported.

Because the bounding box for now was used just as an optimization, and
such huge radiuses are not common, for now the optimization is just
switched off when the radius is near such magnitude.

Three test cases found by the Continuous Integration test were added, so
that we can easily trigger the bug again, both for regression testing
and in order to properly fix it as some point in the future.
2017-07-06 16:09:41 +02:00
..
assets Fix test "server is up" detection after logging changes. 2016-12-21 11:05:46 +01:00
cluster Cluster test 12: reshard back just a few slots to speedup the test. 2016-05-05 11:57:49 +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 Regression test for #3899 fixed. 2017-05-11 16:43:46 +02:00
sentinel Sentinel: new test unit 07 that tests master down conditions. 2016-07-22 16:39:26 +02:00
support Fix test "server is up" detection after logging changes. 2016-12-21 11:05:46 +01:00
tmp
unit Fix GEORADIUS edge case with huge radius. 2017-07-06 16:09:41 +02:00
instances.tcl Test: Handle LOADING in restart_instance. 2016-01-15 16:50:35 +01:00
test_helper.tcl Regression test for PSYNC2 issue #3899 added. 2017-04-28 10:40:44 +02:00