Compare commits

...
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