Skip to content

test(admin): cover ILM wait timeout - #341

Merged
overtrue merged 1 commit into
mainfrom
automation/test-gap-detection-20260809
Aug 9, 2026
Merged

test(admin): cover ILM wait timeout#341
overtrue merged 1 commit into
mainfrom
automation/test-gap-detection-20260809

Conversation

@overtrue

@overtrue overtrue commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a focused CLI regression test for admin ilm transition wait timing out before the backend reports a terminal job state.
  • Assert the timeout keeps the v3 JSON error on stderr, returns the general error exit code, and polls the durable job endpoint twice.

Evidence

  • Recent ILM transition job work added success-path wait coverage, but the timeout branch was not exercised.

Validation

  • RUSTC_WRAPPER= cargo test -p rustfs-cli --test admin_ilm ilm_transition_wait_times_out_before_terminal_state -- --nocapture
  • RUSTC_WRAPPER= CARGO_BUILD_JOBS=2 make pre-commit

@overtrue
overtrue marked this pull request as ready for review August 8, 2026 21:27
Copilot AI lite review requested due to automatic review settings August 8, 2026 21:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@overtrue
overtrue merged commit 21c36f7 into main Aug 9, 2026
17 checks passed
@overtrue
overtrue deleted the automation/test-gap-detection-20260809 branch August 9, 2026 08:31
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