Compare commits

..
Author SHA1 Message Date
Malavan Sotheeswaran f596fe85d2 10 instances instead of 20 for cluster tests 2023-01-05 15:10:08 -08:00
Malavan Sotheeswaran 2cfd229ec4 delay is needed 2023-01-05 09:06:03 -08:00
Malavan Sotheeswaran f59bafb9a9 cluster test uses 3 threads by default, try 1 2023-01-05 00:45:55 -08:00
Malavan Sotheeswaran 7886f673e6 undo changes with no effect 2023-01-05 00:16:06 -08:00
Malavan Sotheeswaran f79ae23094 ci clients 1 2023-01-04 19:36:38 -08:00
Malavan Sotheeswaran 390a6ae3ab single thread ci 2023-01-04 17:07:01 -08:00
Malavan Sotheeswaran 5eac72c3fa cluster fixes 2023-01-03 21:50:30 -08:00
Malavan Sotheeswaran 7451c5d12e force sync unlink when removing rdbtempfile during shutdown 2022-12-29 17:01:37 -08:00
Malavan Sotheeswaranandbenschermel b50f0cc21f flash package update (#528)
* ship packages with flash option

* deb12 fix

Co-authored-by: benschermel <bschermel@snapchat.com>
2022-12-29 15:09:53 -05:00
4 changed files with 5 additions and 4 deletions

No files matched your search

+2 -2
View File
@@ -21,10 +21,10 @@ jobs:
- name: test-tls
run: |
sudo apt-get -y install tcl tcl-tls
./runtest --clients 1 --verbose --tls --config server-threads 3
./runtest --clients 1 --verbose --tls
- name: cluster-test
run: |
./runtest-cluster --tls --config server-threads 3
./runtest-cluster --tls --config server-threads 1
- name: sentinel test
run: |
./runtest-sentinel
+1 -1
View File
@@ -5167,7 +5167,7 @@ int prepareForShutdown(int flags) {
* to unlink file actully) in background thread.
* The temp rdb file fd may won't be closed when redis exits quickly,
* but OS will close this fd when process exits. */
rdbRemoveTempFile(g_pserver->child_pid, 0);
rdbRemoveTempFile(g_pserver->child_pid, 1);
}
/* Kill module child if there is one. */
+1 -1
View File
@@ -7,7 +7,7 @@ source cluster.tcl
source ../instances.tcl
source ../../support/cluster.tcl ; # Redis Cluster client.
set ::instances_count 20 ; # How many instances we use at max.
set ::instances_count 10 ; # How many instances we use at max.
set ::tlsdir "../../tls"
proc main {} {
@@ -26,6 +26,7 @@ test "Cluster nodes are reachable" {
}
test "Cluster nodes hard reset" {
after 60000
foreach_redis_id id {
if {$::valgrind} {
set node_timeout 10000