Skip to content

Conversation

@fvaleye
Copy link
Contributor

@fvaleye fvaleye commented Aug 12, 2025

Which issue does this PR close?

What changes are included in this PR?

This ensures tests only run after the complete test environment is initialized correctly, eliminating the timing-based failures.

  • Wait for both the catalog service and the MinIO service to be ready
  • Verify S3 bucket existence before proceeding with tests
  • Add proper retry logic with clear logging for bucket readiness

Are these changes tested?

Yes

…tion Fixes apache#1581 The glue-catalog-test and hms-catalog-test were failing intermittently with 'NoSuchBucket' errors due to a race condition where tests started before the MinIO 'warehouse' bucket was fully created. Changes: - Wait for both catalog service and MinIO service to be ready - Verify S3 bucket existence before proceeding with tests - Refactor to eliminate duplicate S3 properties configuration - Add proper retry logic with clear logging for bucket readiness This ensures tests only run after the complete test environment is properly initialized, eliminating the timing-based failures.
Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

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

Thanks @fvaleye for this fix!

@liurenjie1024 liurenjie1024 merged commit 7cde26a into apache:main Aug 14, 2025
17 checks passed
lliangyu-lin pushed a commit to lliangyu-lin/iceberg-rust that referenced this pull request Aug 21, 2025
…tion (apache#1599) ## Which issue does this PR close? - Closes apache#1581 ## What changes are included in this PR? This ensures tests only run after the complete test environment is initialized correctly, eliminating the timing-based failures. - Wait for both the catalog service and the MinIO service to be ready - Verify S3 bucket existence before proceeding with tests - Add proper retry logic with clear logging for bucket readiness ## Are these changes tested? Yes Co-authored-by: Renjie Liu <liurenjie2008@gmail.com>
Yiyang-C pushed a commit to Yiyang-C/iceberg-rust that referenced this pull request Aug 26, 2025
…tion (apache#1599) ## Which issue does this PR close? - Closes apache#1581 ## What changes are included in this PR? This ensures tests only run after the complete test environment is initialized correctly, eliminating the timing-based failures. - Wait for both the catalog service and the MinIO service to be ready - Verify S3 bucket existence before proceeding with tests - Add proper retry logic with clear logging for bucket readiness ## Are these changes tested? Yes Co-authored-by: Renjie Liu <liurenjie2008@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants