redis/tests/integration
Ozan Tezcan 03816c15f7
Fix short read of hfe key that causes exit() on replica (#14143)
If replica detects broken connection while reading min expiration time
of hfe key, it calls exit().
Fixed it to handle the error gracefully without calling exit. 

To reproduce the issue, the short-read test was modified to generate
many small hfe keys, increasing the likelihood of a connection drop
while reading min expiration time:

```tcl
for {set k 0} {$k < 50000} {incr k} {
  for {set i 0} {$i < 1} {incr i} {
    r hsetex "$k hfe_small" EX [expr {int(rand()*10)}] FIELDS 1 [string repeat A [expr {int(rand()*10)}]] 0[string repeat A [expr {int(rand()*10)}]]
  }
}
```

We can't have the test use only hfe keys, so a few were added alongside
other data. I couldn't reproduce the issue this way but with the test's
randomization, it should hit this scenario in one of the runs.
2025-06-23 07:41:30 +03:00
..
aof-multi-part.tcl AOF offset info (#13773) 2025-02-13 17:31:40 +08:00
aof-race.tcl Stabilization and improvements around aof tests (#12626) 2023-10-02 08:20:53 +03:00
aof.tcl Add thread sanitizer run to daily CI (#13964) 2025-06-02 10:13:23 +03:00
block-repl.tcl Attempt to solve MacOS CI issues in GH Actions (#12013) 2023-04-12 09:19:21 +03:00
convert-ziplist-hash-on-load.tcl Replace all usage of ziplist with listpack for t_hash (#8887) 2021-08-10 09:18:49 +03:00
convert-ziplist-zset-on-load.tcl Replace all usage of ziplist with listpack for t_zset (#9366) 2021-09-09 18:18:53 +03:00
convert-zipmap-hash-on-load.tcl Replace all usage of ziplist with listpack for t_hash (#8887) 2021-08-10 09:18:49 +03:00
corrupt-dump-fuzzer.tcl [Vector sets] RDB IO errors handling (#13978) 2025-05-07 21:49:00 +03:00
corrupt-dump.tcl Add thread sanitizer run to daily CI (#13964) 2025-06-02 10:13:23 +03:00
dismiss-mem.tcl Stabilize tcl test cases (#13829) 2025-02-25 16:31:53 +08:00
failover.tcl solve race conditions in tests (#13433) 2024-07-22 10:11:56 +03:00
logging.tcl Hide user data from log (#13400) 2024-07-09 18:54:18 +08:00
psync2-master-restart.tcl HFE to support AOF and replicas (#13285) 2024-05-29 19:47:48 +08:00
psync2-pingoff.tcl Fix race condition in psync2-pingoff test (#9712) 2021-11-01 16:07:08 +02:00
psync2-reg.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
psync2.tcl Tests: Do not save an RDB by default and add a SIGTERM default AOFRW test (#12064) 2023-04-18 16:14:26 +03:00
rdb.tcl HFE - Fix statistic to count also lazy expired and rename INFO params (#13372) 2024-07-02 18:22:10 +03:00
redis-benchmark.tcl redis-benchmark - add the support for binary strings (#9414) 2023-09-02 15:37:04 +03:00
redis-cli.tcl Redis-cli gets RDB by RDB channel (#13809) 2025-05-08 08:47:29 +08:00
replication-2.tcl Attempt to solve MacOS CI issues in GH Actions (#12013) 2023-04-12 09:19:21 +03:00
replication-3.tcl Remove EVAL script verbatim replication, propagation, and deterministic execution logic (#9812) 2021-12-21 08:32:42 +02:00
replication-4.tcl optimize spopwithcount propagation (#12082) 2023-05-22 10:27:14 +03:00
replication-buffer.tcl Adding AGPLv3 as a license option to Redis! (#13997) 2025-05-01 14:04:22 +01:00
replication-psync.tcl Adding AGPLv3 as a license option to Redis! (#13997) 2025-05-01 14:04:22 +01:00
replication-rdbchannel.tcl Add thread sanitizer run to daily CI (#13964) 2025-06-02 10:13:23 +03:00
replication.tcl Fix short read of hfe key that causes exit() on replica (#14143) 2025-06-23 07:41:30 +03:00
shutdown.tcl Async IO Threads (#13695) 2024-12-23 14:16:40 +08:00