Skip to content

[fix] stabilize flaky Tcl CI test cases - #436

Open
warrick1016 wants to merge 2 commits into
mainfrom
fix/flaky_626_bak
Open

[fix] stabilize flaky Tcl CI test cases#436
warrick1016 wants to merge 2 commits into
mainfrom
fix/flaky_626_bak

Conversation

@warrick1016

@warrick1016 warrick1016 commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@warrick1016
warrick1016 force-pushed the fix/flaky_626_bak branch 2 times, most recently from ac0c155 to bfa411c Compare July 17, 2026 07:02
Comment thread tests/test_helper.tcl
@@ -879,14 +934,30 @@ proc read_from_replication_stream {s} {
}

proc assert_replication_stream {s patterns} {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8.x 功能代码增强而非单测不通过的代码 分成多个commit吧 重点看单测不过的案例(最好每个单测 来一个commit)

Backport test-harness and case fixes from redis 8.8.0 for the mem CI path:
- test_helper: singledb setup + attach_to_replication_stream_on_connection
  and assert_replication_stream refactor
- logging: wait_for_log_messages
- replication-3: expires=0 wait + wait_for_ofs_sync
- server: SIGCONT before kill, server-killed sync
- multi: wait_for_dbsize + lazy-expire retry
- shutdown: rdb-key-save-delay + bgsave/temp-rdb waits
- rdb: COW measurement rewrite (size 500 / 16 keys / page_size guard)
- redis-cli: dbnum / open_cli default / singledb pipe select
- replication: save{} / diskless-sync-delay 5 / pause_process /
  count_log_lines / wait_for_log_messages for the diskless cases
- slowlog: assert alignment
ROR-only test stabilizations layered on top of the 8.8.0 backport, not
present in redis 8.8.0:
- ::asan / --asan wait-budget wrappers across replication/redis-cli
- swap-swap-info-slave-period suppression (attach/close repl stream)
- util: dbsize_loadsafe, repl_wait_maxtries/repl_wait_delay, crashlog catch
- client-evict: 6.x maxmemory-tracking-clients accounting rewrite
- block-repl: wait-for-role instead of fixed sleep
- psync2-reg: dbsize_loadsafe
- redis-cli: cli_timeout_ms/try_read_cli/read_cli_to_eof/cli_output_contains,
  --scan de-dup
- replication: populate 800, dbsize_loadsafe, blocked-loading detection loop,
  per-case max_retry loops
- all tests/swap/** case adjustments (swap job only)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants