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

Copy link
Copy Markdown
Collaborator

Squash flaky1~flaky31: stabilize unstable CI Tcl test cases. Covers retry logic, wait_for_condition timeouts, replication sync, RDB/AOF persistence, client eviction, shutdown, slowlog, swap integration.

[fix] remove flaky Wr(MB/s) rate assertion in compact_range test

Wr(MB/s) is a rolling-interval rate metric — returns 0.0 after compaction completes and server goes idle. Replace with cumulative Comp(sec) > 0.0 which already exists on the next line. Avoids false failures on slow/ASAN builds.

[fix] restore LIFO order assertion in slowlog test for non-swap mode

lsort-based comparison only under $::swap where swap I/O timing can disturb entry order; standard builds restore original index-based assertions that validate LIFO ordering semantics.

warrick1016 and others added 2 commits July 15, 2026 20:33
Squash flaky1~flaky31: stabilize unstable CI Tcl test cases.
Covers retry logic, wait_for_condition timeouts, replication sync,
RDB/AOF persistence, client eviction, shutdown, slowlog, swap integration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

[fix] remove flaky Wr(MB/s) rate assertion in compact_range test

Wr(MB/s) is a rolling-interval rate metric — returns 0.0 after compaction
completes and server goes idle. Replace with cumulative Comp(sec) > 0.0
which already exists on the next line. Avoids false failures on slow/ASAN builds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

[fix] restore LIFO order assertion in slowlog test for non-swap mode

lsort-based comparison only under $::swap where swap I/O timing can
disturb entry order; standard builds restore original index-based
assertions that validate LIFO ordering semantics.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant