440 Commits

Author SHA1 Message Date
antirez
3c7a5b29aa Test: fixed osx msg passing issue in testing framework.
The Redis test uses a server-clients model in order to parallelize the
execution of different tests. However in recent versions of osx not
setting the channel to a binary encoding caused issues even if AFAIK no
binary data is really sent via this channel. However now the channels
are deliberately set to a binary encoding and this solves the issue.

The exact issue was the test not terminating and giving the impression
of running forever, since test clients or servers were unable to
exchange the messages to continue.
2014-01-31 16:27:03 +01:00
antirez
e9786a3255 Test: regression for issues #1483. 2014-01-09 11:19:03 +01:00
antirez
088a617c61 Test: stress events flags to/from string conversion. 2014-01-08 17:18:30 +01:00
antirez
f71de5ab4e SDIFF iterator misuse bug regression test added.
See commit 69a3303 for more info about the bug.
2013-12-13 11:37:13 +01:00
Yossi Gottlieb
834a5f530d Return proper error on requests with an unbalanced number of quotes. 2013-12-08 12:58:12 +02:00
antirez
8bc3e626a5 Fix false positive in memory efficiency test.
Fixes issue #1298.
2013-11-25 10:21:46 +01:00
antirez
7dfcfe47b6 Added tests for [SHZ]SCAN with MATCH. 2013-11-05 15:19:44 +01:00
antirez
adcc1fc04d SSCAN with integer encoded object test improved. 2013-10-31 10:37:27 +01:00
antirez
4f3d9c0595 Regression test added for [SHZ]SCAN issue #1354. 2013-10-31 09:43:21 +01:00
antirez
996bffbfb6 Test: added a SCAN test trying to trigger HT resize. 2013-10-30 16:50:25 +01:00
antirez
cde7c072ba Test: added ZSCAN test. 2013-10-30 16:25:53 +01:00
antirez
82dcd85503 Test: added HSCAN test. 2013-10-30 16:24:39 +01:00
antirez
35250fa9df Test: added SSCAN test. 2013-10-30 11:58:04 +01:00
antirez
a23bf27718 SCAN test keys sorting turned into more idiomatic Tcl. 2013-10-30 11:36:12 +01:00
antirez
d1bdb17b42 SCAN: tests moved to unit/scan.tcl. 2013-10-30 11:34:01 +01:00
antirez
b18ac5f574 SCAN: Fix test after option renamed from PATTERN to MATCH. 2013-10-25 11:55:28 +02:00
Pieter Noordhuis
956c0ed927 Add SCAN command 2013-10-25 10:49:48 +02:00
antirez
ebe91a49c9 Test: Lua stack leak regression test added. 2013-08-30 08:59:11 +02:00
antirez
b3277bab4b Test: added a memory efficiency test. 2013-08-29 16:23:57 +02:00
Jan-Erik Rediger
05b9bfc79b Little typo 2013-08-07 16:05:09 +02:00
antirez
1b26e3e1fa Test: regression test for issue #1221. 2013-07-29 17:39:28 +02:00
antirez
995cb581a9 Test: regression test for issue #1208. 2013-07-22 23:40:48 +02:00
antirez
600567383a Test: add some AOF testing to EVALSHA replication test. 2013-06-25 15:49:07 +02:00
antirez
1ff422dc47 Test: EVALSHA replication. 2013-06-25 15:35:48 +02:00
antirez
31f34595c6 Test: randomInt() behavior commented. 2013-06-25 15:32:37 +02:00
antirez
c43286e5a9 Test: replication-3 test speedup in master-slave setup. 2013-06-25 15:13:14 +02:00
antirez
5f770dcc2f Test: regression test for #1163. 2013-06-19 18:53:07 +02:00
antirez
96574ee610 Fix comment typo in integration/aof.tcl. 2013-06-19 18:31:33 +02:00
Marc-Antoine Perennou
f9eef102c8 test-server: only listen to 127.0.0.1
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-06-12 22:49:32 +02:00
antirez
650fc5218f Test: avoid a false positive in min-slaves test. 2013-05-31 11:43:30 +02:00
antirez
89ec3e8b22 Tests added for min-slaves feature. 2013-05-30 18:54:28 +02:00
antirez
376797e1b5 Make tests compatible with new INFO replication output. 2013-05-30 11:43:43 +02:00
antirez
bde71cbd48 Test default config modified to set logfile to empty string.
Required because of recent changes in the way logfile is set to standard
output.
2013-05-15 10:19:14 +02:00
antirez
020b660322 Test: more PSYNC tests (backlog TTL). 2013-05-09 12:52:04 +02:00
antirez
78abe60d77 Test: check that replication partial sync works if we break the link.
The test checks both successful syncs and unsuccessful ones by changing
the backlog size.
2013-05-08 13:01:44 +02:00
antirez
3a649224bd Test: various issues with the replication-4.tcl test fixed.
The test actually worked, but vars for master and slave were inverted
and sometimes used incorrectly.
2013-05-08 11:58:26 +02:00
antirez
de5e085f1f Test: fix RDB test checking file permissions.
When the test is executed using the root account, setting the permission
to 222 does not work as expected, as root can read files with 222
permission.

Now we skip the test if root is detected.

This fixes issue #1034 and the duplicated #1040 issue.

Thanks to Jan-Erik Rediger (@badboy on Github) for finding a way to reproduce the issue.
2013-04-23 14:16:50 +02:00
antirez
971d6b329d Test: split conceptually unrelated comments in RDB test. 2013-04-22 11:25:49 +02:00
antirez
559916e7f4 Test: remove useless statements and comments from test default config. 2013-04-04 14:30:05 +02:00
antirez
bd771b6c45 Test: Extended SET tests. 2013-03-28 16:25:24 +01:00
antirez
915d1834af Test: regression test for issue #1026. 2013-03-28 11:46:14 +01:00
antirez
9f7e9793ce Test: verify that lazy-expire works. 2013-03-28 11:36:49 +01:00
antirez
e0e1b3a7cf Test: test replication of MULTI/EXEC. 2013-03-27 11:44:50 +01:00
antirez
b163099b47 Test: Restore DB back to 9 after testing MULTI/EXEC with DB 5. 2013-03-27 11:30:23 +01:00
antirez
71a2ad0388 Test: new functions to capture and analyze the replication stream. 2013-03-27 11:29:47 +01:00
antirez
c4db57ceaf Test: obuf-limits test false positive removed.
Fixes #621.
2013-03-25 11:56:34 +01:00
antirez
dec5a0bde9 Test: make sure broken RDB checksum is detected. 2013-03-13 11:12:45 +01:00
antirez
d42f82488d Test: more RDB loading checks.
A test for issue #1001 is included.
2013-03-13 10:04:33 +01:00
antirez
7614cf793d Test: check that Redis starts empty without an RDB file. 2013-03-12 19:55:33 +01:00
antirez
cb6ff7f5d1 Return a specific NOAUTH error if authentication is required. 2013-02-12 16:25:41 +01:00