Commit Graph

33 Commits

Author SHA1 Message Date
3a1ab86a35 Change getDoubleFromObject to fail on NaN.
Return an error when the resulting value is not a number (NaN). Fix
ZUNIONSTORE/ZINTERSTORE to clean up when a weight argument is not a
double value. Backport of 673e1fb7 to 2.0.0.
2010-07-29 23:10:53 +02:00
c6375e6a60 Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score.
When +inf and -inf are added, the result is NaN. We don't want NaN
scores in a sorted set, so agreed on the result of this operation being
zero. Backport of d9e28bcf to 2.0.0.
2010-07-29 23:08:28 +02:00
30a7f9b387 Merge remote branch 'pietern/zfixes-2.0.0' into 2.0.0 2010-07-24 09:20:12 +02:00
7905331ede exit with non-zero status when there are failed tests 2010-07-23 15:56:38 +02:00
797c9ffb6b backport of patches that fix the behavior of LRANGE, LTRIM, ZRANGE, ZREVRANGE
and ZREMRANGEBYSCORE when an out of range negative end index is provided
original commits: 184d74, 4774a5, f483ce
2010-07-12 16:31:36 -04:00
75d675d954 partial cherry-pick of d4507ec6 to import assertion functions 2010-07-12 15:35:11 -04:00
61e4ff2f9c cas test doesn't belong in 2.0.0 2010-06-03 01:13:05 +02:00
a0ed0067cc tag memory leak check on kill server as "leaks" 2010-06-03 01:09:08 +02:00
bd29be7db5 tag test with sleep() as slow 2010-06-03 01:09:08 +02:00
15f763eef6 make sure the config it returned when called without code 2010-06-03 01:09:08 +02:00
55ebd6a213 tag more slow tests 2010-06-03 01:09:07 +02:00
1f19628bee change how arguments are passed from the AOF tests 2010-06-03 01:09:07 +02:00
f3f35ced13 scope res variable outside test 2010-06-03 01:09:07 +02:00
0319bd1e9f tags for existing tests 2010-06-03 01:09:07 +02:00
19b49c31f3 pass tags to filter and match via arguments 2010-06-03 01:08:37 +02:00
3c5b5e15d4 basic support to tag tests 2010-06-03 01:08:37 +02:00
c80ba69173 changed how server.tcl accepts options to support more directives without requiring more arguments to the proc 2010-06-03 01:08:37 +02:00
f7b8ff227a removed obsolete code 2010-06-03 01:07:43 +02:00
8a58008b1b catch exceptions in the server proc, to be able to kill the entire chain of running servers 2010-06-03 00:54:58 +02:00
d1481e023a Fixed ZINCR Nan bugs leading to server crash and added tests 2010-05-28 12:26:26 +02:00
c22b2ec863 by default test with valgrind does not show full leak info 2010-05-21 13:58:04 +02:00
c4669d257f tests suite initial support for valgrind, fixed the old test suite until the new one is able to target a specific host/port 2010-05-21 12:00:13 +02:00
f166bb1d50 code to enable running tests with the vm enabled 2010-05-20 13:58:58 +02:00
d6d3f92fb0 added regression for zipmap bug 2010-05-20 12:03:02 +02:00
53cbf66caf initial tests for AOF (and small changes to server.tcl to support these) 2010-05-19 14:54:20 +02:00
46b614edf7 Merge branch 'master' into integration 2010-05-19 14:53:57 +02:00
fdfb02e7ff print warnings in redis log when a test raises an exception (very likely to be caused by something like a failed assertion) 2010-05-15 23:48:08 +02:00
76a224700d added pid info to the check memory leaks test, so that those tests don't appear to be duplicated 2010-05-15 00:43:43 +02:00
85ecc65edc initial rough integration test for replication 2010-05-14 20:50:58 +02:00
1c4114be40 store entire server object on the stack instead of just the client 2010-05-14 20:50:32 +02:00
9cf9e6f197 proc to retrieve values from INFO properties 2010-05-14 20:48:57 +02:00
5d373da96a ZUNION,ZINTER -> ZUNIONSTORE,ZINTERSTORE 2010-05-14 18:58:37 +02:00
ab72b4833d minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00