From febc3f63b2b57afe3553b22c69c3ce27b5a3e842 Mon Sep 17 00:00:00 2001 From: Binbin Date: Mon, 20 Dec 2021 18:31:13 +0800 Subject: Fix recent daily CI test failures (#9966) Recent PRs have introduced some failures, this commit try to fix these CI failures. Here are the changes: 1. Enable debug-command in sentinel test. ``` Master reboot in very short time: ERR DEBUG command not allowed. If the enable-debug-command option is set to "local", you can run it from a local connection, otherwise you need to set this option in the configuration file, and then restart the server. ``` 2. Enable protected-config in sentinel test. ``` SDOWN is triggered by misconfigured instance replying with errors: ERR CONFIG SET failed (possibly related to argument 'dir') - can't set protected config ``` 3. Enable debug-command in cluster test. ``` Verify slaves consistency: ERR DEBUG command not allowed. If the enable-debug-command option is set to "local", you can run it from a local connection, otherwise you need to set this option in the configuration file, and then restart the server. ``` 4. quicklist fill should be signed int. The reason for the modification is to eliminate the warning. Modify `int fill: QL_FILL_BITS` to `signed int fill: QL_FILL_BITS` The first three were introduced at #9920 (same issue). And the last one was introduced at #9962. --- tests/cluster/run.tcl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/cluster') diff --git a/tests/cluster/run.tcl b/tests/cluster/run.tcl index d9a7d7ee5..c81d8f39d 100644 --- a/tests/cluster/run.tcl +++ b/tests/cluster/run.tcl @@ -15,6 +15,8 @@ proc main {} { spawn_instance redis $::redis_base_port $::instances_count { "cluster-enabled yes" "appendonly yes" + "enable-protected-configs yes" + "enable-debug-command yes" } run_tests cleanup -- cgit v1.2.1