redict/tests/unit
antirez b2cd9fcab6 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-03 19:38:31 +02:00
..
type Test: fix conditional execution of HINCRBYFLOAT representation test. 2017-02-22 12:00:09 +01:00
aofrw.tcl Solaris fixes about tail usage and atomic vars. 2017-02-22 13:08:21 +01:00
auth.tcl Remove trailing spaces from tests 2014-09-29 06:49:08 -04:00
bitfield.tcl Test: regression test for #3564 added. 2016-10-31 15:46:58 +01:00
bitops.tcl Regression test for #3282. 2016-06-15 11:49:49 +02:00
dump.tcl MIGRATE: test more corner cases. 2015-12-11 14:27:08 +01:00
expire.tcl Fix set with ex/px option when propagated to aof 2017-06-16 17:51:38 +08:00
geo.tcl Fix GEORADIUS edge case with huge radius. 2017-07-03 19:38:31 +02:00
hyperloglog.tcl Test: improve PFCOUNT with multiple keys testing. 2015-11-03 19:03:17 +01:00
introspection-2.tcl Test TOUCH and new TTL / TYPE behavior about object access time. 2016-06-15 17:15:51 +02:00
introspection.tcl Fix race condition in unit/introspection 2015-08-11 22:56:17 -07:00
keyspace.tcl Test: MOVE expire test improved. 2015-09-14 12:35:55 +02:00
latency-monitor.tcl LATENCY command / monitor basic tests. 2014-07-10 16:23:54 +02:00
lazyfree.tcl Test: basic lazyfree unit test. 2015-10-09 09:47:17 +02:00
limits.tcl More robust maxclients test. 2012-04-18 11:34:18 +02:00
maxmemory.tcl add LFU policies to the test suite, just for coverage 2017-03-15 01:05:15 -07:00
memefficiency.tcl Defrag: test currently disabled, too many false positives. 2017-04-22 15:59:57 +02:00
multi.tcl Test: test replication of MULTI/EXEC. 2013-03-27 11:44:50 +01:00
obuf-limits.tcl Test: obuf-limits test false positive removed. 2013-03-25 11:56:34 +01:00
other.tcl Fix SELECT test, broken cause change in error msg. 2016-10-14 15:48:11 +02:00
printver.tcl Print version info before running the test 2011-05-20 11:44:54 +02:00
protocol.tcl Return proper error on requests with an unbalanced number of quotes. 2013-12-08 12:58:12 +02:00
pubsub.tcl pubsub: Return integers for NUMSUB, not strings 2014-08-08 11:19:37 +02:00
quit.tcl Add tests for OK on QUIT 2010-10-15 12:54:53 +02:00
scan.tcl Regression test for issue #2175. 2014-12-03 10:38:56 +01:00
scripting.tcl Now that SPOP can be called by scripts use BLPOP on 's' flag test. 2016-05-31 16:43:23 +02:00
slowlog.tcl SLOWLOG: log offending client address and name. 2017-06-15 12:57:54 +02:00
sort.tcl Config: Add quicklist, remove old list options 2015-01-02 11:16:10 -05:00
wait.tcl Test: WAIT tests added in wait.tcl unit. 2016-11-18 13:10:29 +01:00