Skip to content

tests: avoid throw from finally block in test_s3_cluster - #102144

Merged
azat merged 1 commit into
ClickHouse:masterfrom
azat:tests/test_s3_cluster
Apr 9, 2026
Merged

azat merged 1 commit into
ClickHouse:masterfrom
azat:tests/test_s3_cluster

Conversation

@azat

@azat azat commented Apr 8, 2026 •

Copy link
Copy Markdown
Member

@clickhouse-gh

clickhouse-gh Bot commented Apr 8, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [7f12c2f]

Summary: ✅


AI Review

Summary

This PR updates integration test teardown in tests/integration/test_s3_cluster/test.py to call shutil.rmtree(..., ignore_errors=True) in the fixture finally block, preventing cleanup exceptions from interrupting fixture shutdown. I did not find correctness, safety, performance, or compatibility issues in the submitted change.

ClickHouse Rules
Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ➖
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ✅
Compilation time ✅
No large/binary files ✅
Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 8, 2026
@alexey-milovidov alexey-milovidov self-assigned this Apr 8, 2026
@azat
azat force-pushed the tests/test_s3_cluster branch from 064c730 to 7f12c2f Compare April 9, 2026 07:18
@azat
azat enabled auto-merge April 9, 2026 10:05
@azat
azat added this pull request to the merge queue Apr 9, 2026
Merged via the queue into ClickHouse:master with commit 9cd08ac Apr 9, 2026
164 checks passed
@azat
azat deleted the tests/test_s3_cluster branch April 9, 2026 11:08
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants