John Sully
ebf5d2826a
Make lazyfree more reliable
...
Former-commit-id: b6c3d80edbdc4348c071b4108b039f4da5c88ce5
2020-06-07 00:40:58 -04:00
Oran Agra
fed743b2e1
fix pingoff test race
2020-06-06 11:44:21 +02:00
John Sully
8f8015bb22
Detect issues like #189
...
Former-commit-id: 0042586190a3e5b212a015aeb3577695cd3623c5
2020-06-05 22:18:28 -04:00
zhaozhao.zz
cfc3e6f55d
AOF: append origin SET if no expire option
2020-06-03 17:55:18 +08:00
John Sully
ad174ab352
Merge error, server always flushes on eviction
...
Former-commit-id: 9b3b0c9a40ab5dcdac9620f0fbad84887cc9c832
2020-06-02 17:21:41 -04:00
John Sully
df3f1e8d8e
Merge branch 'unstable' into keydbpro
...
Former-commit-id: 08a36155e3db9918048e87c3d691b7317787c9ab
2020-06-01 17:41:37 -04:00
John Sully
419720d5ef
maxmem tests should be run solo for higher reliability
...
Former-commit-id: 95f46e60779fca715244745ced7b2ab04bbf9e3a
2020-06-01 16:50:30 -04:00
John Sully
4820142896
PSYNC test shouldn't wait forever
...
Former-commit-id: 130613e16636923296a8d5b2c4bc623e62fef2f5
2020-06-01 16:13:58 -04:00
John Sully
92de178bfe
PSYNC test reliability improvements (test only issue)
...
Former-commit-id: 50fd4fa7e62f3996f15f6a8c4dcd892022f111ec
2020-06-01 16:01:26 -04:00
John Sully
9e87395c34
Fix for issue #187 we need to properly handle the case where a key with a subkey expirey itself expires during load
...
Former-commit-id: e6a9a6b428b91b6108df24ae6285ea9b582b7b23
2020-06-01 15:33:19 -04:00
John Sully
08fca5ef31
sendfile has high latency in some scenarios, don't use it
...
Former-commit-id: 1eb0e3c1c604e71c54423f1d11b8c709c847a516
2020-05-31 23:22:25 -04:00
John Sully
4b317392be
Don't start multimaster tests until all nodes are connected
...
Former-commit-id: 202b97eff76501e736a2f0969607e3297e9703a4
2020-05-31 22:50:30 -04:00
John Sully
de0540d34b
Fix client race in test (test only issue)
...
Former-commit-id: f25aebf2698509a132ebf599374b245efb51e365
2020-05-31 21:39:50 -04:00
John Sully
dd45ade779
--loop should run forever
...
Former-commit-id: 9b1e636a6654a4ba3b629b5ad1097caf513ca000
2020-05-31 21:27:15 -04:00
John Sully
9ab9a7684d
PUBSUB test reliability: A client race was erroneously failing tests (test only issue)
...
Former-commit-id: 5147f0153ad1efb827a1709c10cd0f58e6ae65d8
2020-05-31 21:27:15 -04:00
Oran Agra
8422c4f9d6
fix pingoff test race
2020-05-31 15:51:52 +03:00
John Sully
bbff81e891
Fix memory test failures with multithreading enabled
...
Former-commit-id: 58035404227a9ef1c3bd92623a333c915d50eab6
2020-05-30 00:06:15 -04:00
John Sully
68bf5a04a0
Unify beforeSleep handling
...
Former-commit-id: 1cb48c7bf6a7e91e728a677902a7bfc64fe80dd6
2020-05-29 17:44:55 -04:00
John Sully
2e0c684324
active replica tests on slow computers
...
Former-commit-id: c9920849dd6d6d0f6ecfe0d1002cb0edd7f7bfa9
2020-05-29 01:58:15 -04:00
John Sully
688dceb3a8
Fix test issue with TLS
...
Former-commit-id: 81b240f81d1c52fd331c4e0e89659913380229c4
2020-05-29 01:44:52 -04:00
John Sully
ed2e0e66f6
Merge tag '6.0.4' into unstable
...
Redis 6.0.4.
Former-commit-id: 9c31ac7925edba187e527f506e5e992946bd38a6
2020-05-29 00:57:07 -04:00
antirez
41bb699867
Test: take PSYNC2 test master timeout high during switch.
...
This will likely avoid false positives due to trailing pings.
2020-05-28 10:56:14 +02:00
antirez
0071eb1311
Test: take PSYNC2 test master timeout high during switch.
...
This will likely avoid false positives due to trailing pings.
2020-05-28 10:47:30 +02:00
antirez
40578433c7
Test: add the tracking unit as default.
2020-05-28 10:22:29 +02:00
antirez
deea754004
Test: add the tracking unit as default.
2020-05-28 10:22:22 +02:00
Oran Agra
571b03021a
tests: find_available_port start search from next port
...
i.e. don't start the search from scratch hitting the used ones again.
this will also reduce the likelihood of collisions (if there are any
left) by increasing the time until we re-use a port we did use in the
past.
2020-05-28 10:09:51 +02:00
Oran Agra
4653d796f0
tests: each test client work on a distinct port range
...
apparently when running tests in parallel (the default of --clients 16),
there's a chance for two tests to use the same port.
specifically, one test might shutdown a master and still have the
replica up, and then another test will re-use the port number of master
for another master, and then that replica will connect to the master of
the other test.
this can cause a master to count too many full syncs and fail a test if
we run the tests with --single integration/psync2 --loop --stop
see Probmem 2 in #7314
2020-05-28 10:09:51 +02:00
Oran Agra
31bd963557
32bit CI needs to build modules correctly
2020-05-28 10:09:51 +02:00
Oran Agra
01039e5964
adjust revived meaningful offset tests
...
these tests create several edge cases that are otherwise uncovered (at
least not consistently) by the test suite, so although they're no longer
testing what they were meant to test, it's still a good idea to keep
them in hope that they'll expose some issue in the future.
2020-05-28 10:09:51 +02:00
Oran Agra
98e6f2cd5b
revive meaningful offset tests
2020-05-28 10:09:51 +02:00
antirez
0163e4e495
Another meaningful offset test removed.
2020-05-28 10:09:51 +02:00
antirez
24a0f7bf55
Remove the PSYNC2 meaningful offset test.
2020-05-28 10:09:51 +02:00
antirez
2411e4e33f
Test: PSYNC2 test can now show server logs.
2020-05-28 10:09:51 +02:00
Salvatore Sanfilippo
504b01bdb4
Merge pull request #7327 from oranagra/test-port-ranges
...
tests: each test client work on a distinct port range
2020-05-28 09:52:10 +02:00
Salvatore Sanfilippo
8254ca8dc6
Merge pull request #7336 from oranagra/modules_ci_32bit
...
32bit CI needs to build modules correctly
2020-05-28 09:51:58 +02:00
Oran Agra
afc7ea44b5
adjust revived meaningful offset tests
...
these tests create several edge cases that are otherwise uncovered (at
least not consistently) by the test suite, so although they're no longer
testing what they were meant to test, it's still a good idea to keep
them in hope that they'll expose some issue in the future.
2020-05-28 09:10:51 +03:00
Oran Agra
49687e9cb6
revive meaningful offset tests
2020-05-28 08:21:24 +03:00
Oran Agra
033b4b31c7
32bit CI needs to build modules correctly
2020-05-27 18:19:30 +03:00
Oran Agra
ee211d651d
tests: find_available_port start search from next port
...
i.e. don't start the search from scratch hitting the used ones again.
this will also reduce the likelihood of collisions (if there are any
left) by increasing the time until we re-use a port we did use in the
past.
2020-05-27 16:12:35 +03:00
antirez
fafe3502da
Another meaningful offset test removed.
2020-05-27 12:50:02 +02:00
antirez
4c264e994e
Remove the PSYNC2 meaningful offset test.
2020-05-27 12:47:34 +02:00
Oran Agra
8f0c339892
tests: each test client work on a distinct port range
...
apparently when running tests in parallel (the default of --clients 16),
there's a chance for two tests to use the same port.
specifically, one test might shutdown a master and still have the
replica up, and then another test will re-use the port number of master
for another master, and then that replica will connect to the master of
the other test.
this can cause a master to count too many full syncs and fail a test if
we run the tests with --single integration/psync2 --loop --stop
see Probmem 2 in #7314
2020-05-26 11:17:08 +03:00
John Sully
f617eafbe1
Merge branch 'unstable' into keydbpro
...
Former-commit-id: b0636273806ce323627ce31c1ad7f86ceb39696d
2020-05-26 01:34:19 -04:00
John Sully
5b44b62854
Fix client tracking, also ensure tracking tests are enabled
...
Former-commit-id: 1938af27f50f9686dc98b4839fb439cc03b4a250
2020-05-26 01:28:52 -04:00
antirez
d325091ba6
Test: PSYNC2 test can now show server logs.
2020-05-25 20:26:29 +02:00
John Sully
e0a0d93a07
Merge branch 'unstable' into keydbpro
...
Former-commit-id: a830cf85df236885558c5571c0bf23cfb23e3655
2020-05-24 14:41:53 -04:00
John Sully
fa0be83fd9
Merge tag '6.0.2' into unstable
...
Redis 6.0.2
Former-commit-id: a010e4a4b2cc2bcad1cb14604b7ebc596c35b05e
2020-05-22 16:45:18 -04:00
John Sully
c03e9a3e2c
Merge commit 'e834acb91c89d083d0075e320dea6ad7188f2d0d' into unstable
...
Former-commit-id: 817a11ff110772893eda0675912bbb0cfc1fca74
2020-05-22 15:56:35 -04:00
John Sully
5a7ce664d0
Merge commit '78cbd3039858407837632bc37abb36e36ec60ce5' into unstable
...
Former-commit-id: d74871da40dea11bd1a226fbecb0974ff5f8ec8c
2020-05-22 15:36:44 -04:00
Qu Chen
5d59bbb6d9
Disconnect chained replicas when the replica performs PSYNC with the master always to avoid replication offset mismatch between master and chained replicas.
2020-05-22 12:37:59 +02:00