Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 128) sorted by relevance

123456

/redis-3.2.3/tests/cluster/tests/
H A D10-manual-failover.tcl5 test "Create a 5 nodes cluster" {
9 test "Cluster is up" {
13 test "Cluster is writable" {
17 test "Instance #5 is a slave" {
62 test "Wait for failover" {
74 test "Cluster is writable" {
105 test "Cluster is up" {
109 test "Cluster is writable" {
113 test "Instance #5 is a slave" {
152 test "Cluster is up" {
[all …]
H A D08-update-msg.tcl14 test "Create a 5 nodes cluster" {
18 test "Cluster is up" {
22 test "Cluster is writable" {
26 test "Instance #5 is a slave" {
40 test "Killing one master node" {
44 test "Wait for failover" {
56 test "Cluster is writable" {
60 test "Instance #5 is now a master" {
64 test "Killing the new master #5" {
68 test "Cluster should be down now" {
[all …]
H A D07-replica-migration.tcl9 test "Create a 5 nodes cluster" {
13 test "Cluster is up" {
17 test "Each master should have two replicas attached" {
29 test "Killing all the slaves of master #0 and #1" {
56 test "Create a 5 nodes cluster" {
60 test "Cluster is up" {
70 test "Killing master node #2, #12 should failover" {
74 test "Wait for failover" {
82 test "Cluster should eventually be up again" {
86 test "Cluster is writable" {
[all …]
H A D02-failover.tcl5 test "Create a 5 nodes cluster" {
9 test "Cluster is up" {
13 test "Cluster is writable" {
17 test "Instance #5 is a slave" {
21 test "Instance #5 synced with the master" {
31 test "Killing one master node" {
35 test "Wait for failover" {
43 test "Cluster should eventually be up again" {
47 test "Cluster is writable" {
51 test "Instance #5 is now a master" {
[all …]
H A D11-manual-takeover.tcl5 test "Create a 5 nodes cluster" {
9 test "Cluster is up" {
13 test "Cluster is writable" {
17 test "Killing majority of master nodes" {
23 test "Cluster should eventually be down" {
27 test "Use takeover to bring slaves back" {
33 test "Cluster should eventually be up again" {
37 test "Cluster is writable" {
41 test "Instance #5, #6, #7 are now masters" {
47 test "Restarting the previously killed master nodes" {
[all …]
H A D06-slave-stop-cond.tcl8 test "Create a 5 nodes cluster" {
12 test "Cluster is up" {
16 test "The first master has actually one slave" {
20 test {Slaves of #0 is instance #5 as expected} {
25 test "Instance #5 synced with the master" {
33 test "Lower the slave validity factor of #5 to the value of 2" {
37 test "Break master-slave link and prevent further reconnections" {
62 test "Slave #5 is reachable and alive" {
66 test "Slave #5 should not be able to failover" {
71 test "Cluster should be down" {
H A D01-faildet.tcl5 test "Create a 5 nodes cluster" {
9 test "Cluster should start ok" {
13 test "Killing two slave nodes" {
18 test "Cluster should be still up" {
22 test "Killing one master node" {
28 test "Cluster should be down now" {
32 test "Restarting master node" {
36 test "Cluster should be up again" {
H A D05-slave-selection.tcl8 test "Create a 5 nodes cluster" {
12 test "Cluster is up" {
16 test "The first master has actually two slaves" {
20 test {Slaves of #0 are instance #5 and #10 as expected} {
26 test "Instance #5 and #10 synced with the master" {
37 test "Slaves are both able to receive and acknowledge writes" {
44 test "Write data while slave #10 is paused and can't receive it" {
70 test "Wait for instance #5 (and not #10) to turn into a master" {
78 test "Wait for the node #10 to return alive before ending the test" {
82 test "Cluster should eventually be up again" {
[all …]
H A D03-failover-loop.tcl8 test "Create a 5 nodes cluster" {
12 test "Cluster is up" {
42 test "Wait for slave of #$tokill to sync" {
52 test "Cluster is writable before failover" {
64 test "Killing node #$tokill" {
78 test "Cluster should eventually be up again" {
82 test "Cluster is writable again" {
89 test "Restarting node #$tokill" {
93 test "Instance #$tokill is now a slave" {
101 test "We can read back the value we set before" {
[all …]
/redis-3.2.3/deps/jemalloc/
H A D.gitignore46 /test/test.sh
47 test/include/test/jemalloc_test.h
48 test/include/test/jemalloc_test_defs.h
57 /test/src/*.[od]
58 /test/src/*.gcda
59 /test/src/*.gcno
66 /test/stress/*.out
70 /test/unit/*.[od]
71 /test/unit/*.gcda
72 /test/unit/*.gcno
[all …]
H A Dconfigure.ac12 if test "x${CFLAGS}" = "x" ; then
132 if test "x$CFLAGS" = "x" ; then
592 cfgoutputs_in="${cfgoutputs_in} test/test.sh.in"
593 cfgoutputs_in="${cfgoutputs_in} test/include/test/jemalloc_test.h.in"
604 cfgoutputs_out="${cfgoutputs_out} test/test.sh"
605 cfgoutputs_out="${cfgoutputs_out} test/include/test/jemalloc_test.h"
616 cfgoutputs_tup="${cfgoutputs_tup} test/test.sh:test/test.sh.in"
617 cfgoutputs_tup="${cfgoutputs_tup} test/include/test/jemalloc_test.h:test/include/test/jemalloc_test…
630 cfghdrs_in="${cfghdrs_in} test/include/test/jemalloc_test_defs.h.in"
645 cfghdrs_out="${cfghdrs_out} test/include/test/jemalloc_test_defs.h"
[all …]
/redis-3.2.3/tests/unit/type/
H A Dstring.tcl2 test {SET and GET an item} {
7 test {SET and GET an empty item} {
12 test {Very big payload in GET/SET} {
62 test "SETNX target key missing" {
68 test "SETNX target key exists" {
105 test {MGET} {
122 test {GETSET (set new value)} {
132 test {MSET base case} {
211 test "SETBIT fuzzing" {
365 test "GETRANGE fuzzing" {
[all …]
H A Dincr.tcl2 test {INCR against non existing key} {
8 test {INCR against key created by incr itself} {
12 test {INCR against key originally set with SET} {
17 test {INCR over 32bit value} {
27 test {INCR fails against key with spaces (left)} {
39 test {INCR fails against key with spaces (both)} {
45 test {INCR fails against a key holding a list} {
68 test {INCR can modify objects in-place} {
80 test {INCRBYFLOAT against non existing key} {
93 test {INCRBYFLOAT over 32bit value} {
[all …]
H A Dlist.tcl65 test {R/LPOP against empty list} {
69 test {Variadic RPUSH/LPUSH} {
76 test {DEL a list} {
137 test "BRPOPLPUSH - $type" {
213 test "BLPOP with variadic LPUSH" {
298 test "Linked BRPOPLPUSH" {
314 test "Circular BRPOPLPUSH" {
390 test {BRPOPLPUSH timeout} {
461 test "$pop: timeout" {
513 test "LINSERT - $type" {
[all …]
H A Dset.tcl36 test {SADD against non set} {
62 test {Variadic SADD} {
84 test {SREM basics - regular set} {
92 test {SREM basics - intset} {
223 test "SDIFF fuzzing" {
289 test "SPOP basics - $type" {
303 test "SRANDMEMBER - $type" {
318 test "SPOP with <count>" {
519 test "SMOVE non existing key" {
549 test "SMOVE wrong src key type" {
[all …]
H A Dhash.tcl2 test {HSET/HLEN - Small hash creation} {
115 test {HMSET - small hash} {
125 test {HMSET - big hash} {
148 test {HMGET - small hash} {
164 test {HMGET - big hash} {
180 test {HKEYS - small hash} {
184 test {HKEYS - big hash} {
196 test {HVALS - big hash} {
245 test {HEXISTS} {
441 test {Hash ziplist regression test for large keys} {
[all …]
/redis-3.2.3/tests/unit/
H A Dkeyspace.tcl2 test {DEL against a single item} {
9 test {Vararg DEL} {
16 test {KEYS with pattern} {
23 test {KEYS to get all keys} {
27 test {DBSIZE} {
31 test {DEL all keys} {
44 test {EXISTS} {
46 r set newkey test
76 test {RENAME basic usage} {
172 test {MOVE basic usage} {
[all …]
H A Dscripting.tcl2 test {EVAL - Does Lua interpreter replies to our requests?} {
41 test {EVAL - is Lua able to call Redis API?} {
72 test {EVAL - Redis bulk -> Lua type conversion} {
188 test {EVAL - JSON numeric decoding} {
199 test {EVAL - JSON string decoding} {
205 test {EVAL - cmsgpack can pack double?} {
325 test "redis.sha1hex() implementation" {
340 test {Test an example script DECR_IF_GT} {
382 test {EVAL does not leak in the Lua stack} {
440 test {Number conversion precision test (issue #1118)} {
[all …]
H A Dprotocol.tcl2 test "Handle an empty query" {
9 test "Negative multibulk length" {
16 test "Out of range multibulk length" {
23 test "Wrong multibulk payload header" {
30 test "Negative multibulk payload length" {
37 test "Out of range multibulk payload length" {
44 test "Non-number multibulk payload length" {
51 test "Multi bulk request not followed by bulk arguments" {
58 test "Generic wrong number of args" {
63 test "Unbalanced number of quotes" {
[all …]
H A Dexpire.tcl2 test {EXPIRE - set timeouts multiple times} {
23 test {EXPIRE - write on expire should work} {
39 r setex x 12 test
43 test {SETEX - Check value} {
45 } {test}
47 test {SETEX - Overwrite old key} {
59 test {SETEX - Wrong time parameter} {
64 test {PERSIST can undo an EXPIRE} {
124 test {TTL returns tiem to live in seconds} {
163 test {Redis should lazy expire keys} {
[all …]
H A Dbitops.tcl65 test {BITCOUNT fuzzing without start/end} {
73 test {BITCOUNT fuzzing with start/end} {
87 test {BITCOUNT with start, end} {
95 test {BITCOUNT syntax error #1} {
100 test {BITCOUNT regression test for github issue #582} {
111 test {BITCOUNT misaligned prefix} {
123 test {BITOP NOT (empty string)} {
129 test {BITOP NOT (known string)} {
167 test "BITOP $op fuzzing" {
185 test {BITOP NOT fuzzing} {
[all …]
H A Dmulti.tcl2 test {MUTLI / EXEC basics} {
14 test {DISCARD} {
26 test {Nested MULTI are not allowed} {
34 test {MULTI where commands alter argc/argv} {
41 test {WATCH inside MULTI is not allowed} {
88 test {EXEC works on WATCHed key not modified} {
149 test {It is possible to UNWATCH} {
172 test {FLUSHALL does not touch non affected keys} {
181 test {FLUSHDB is able to touch the watched keys} {
190 test {FLUSHDB does not touch non affected keys} {
[all …]
H A Dsort.tcl48 test "$title: SORT BY key" {
52 test "$title: SORT BY key with limit" {
56 test "$title: SORT BY hash field" {
62 test "SORT GET #" {
66 test "SORT GET <const>" {
83 test "SORT BY key STORE" {
90 test "SORT BY hash field STORE" {
97 test "SORT extracts STORE correctly" {
105 test "SORT DESC" {
118 test "SORT sorted set" {
[all …]
H A Dgeo.tcl65 test {GEOADD create} {
69 test {GEOADD update} {
81 test {GEOADD multi add} {
85 test {Check geoset values} {
89 test {GEORADIUS simple (sorted)} {
97 test {GEORADIUS with COUNT} {
130 test {GEOPOS simple} {
141 test {GEOPOS missing element} {
147 test {GEODIST simple & unit} {
157 test {GEODIST missing elements} {
[all …]
/redis-3.2.3/tests/integration/
H A Daof.tcl68 test "Short read + command: Server should start" {
87 test "Bad format: Server should have logged an error" {
136 test "Short read: Server should have logged an error" {
161 test "Short read: Utility should be able to fix the AOF" {
168 test "Fixed AOF: Server should have been started" {
192 test "AOF+SPOP: Server should have been started" {
196 test "AOF+SPOP: Set should have 1 member" {
216 test "AOF+SPOP: Server should have been started" {
220 test "AOF+SPOP: Set should have 1 member" {
239 test "AOF+EXPIRE: Server should have been started" {
[all …]

123456