Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[S3-data-lake] Add rest catalog integration tests #53141

Merged
merged 11 commits into from
Feb 7, 2025

Conversation

frifriSF59
Copy link
Contributor

What

Adding integration tests around the rest catalog

Can this PR be safely reverted and rolled back?

  • YES πŸ’š
  • NO ❌

@frifriSF59 frifriSF59 self-assigned this Feb 3, 2025
@frifriSF59 frifriSF59 requested a review from a team as a code owner February 3, 2025 22:23
Copy link

vercel bot commented Feb 3, 2025

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
airbyte-docs βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Feb 7, 2025 10:03pm

@frifriSF59
Copy link
Contributor Author

frifriSF59 commented Feb 3, 2025

/format-fix

Format-fix job started... Check job output.

βœ… Changes applied successfully. (94cfa3f)

// so just poll until these methods stop throwing exceptions
while (true) {
try {
testcontainers.getServicePort("spark-iceberg", 8080)
Copy link
Contributor

Choose a reason for hiding this comment

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

in retrospect - probably should have

  • deleted the spark container
  • and just called getServicePort(minio); getServicePort(rest) here

(not a blocker here, since we're not planning to rely on these tests 🀷 )

"catalog_type": {
"catalog_type": "REST",
"server_uri": "http://$restEndpoint:8181",
"namespace": "test"
Copy link
Contributor

Choose a reason for hiding this comment

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

fyi - after #53186 merges, we should change this to "namespace": "<DEFAULT_NAMESPACE_PLACEHOLDER>"

frifriSF59 and others added 5 commits February 7, 2025 09:40
…est-integration/kotlin/io/airbyte/integrations/destination/s3_data_lake/RestTestContainers.kt

Co-authored-by: Edward Gao <[email protected]>
…est-integration/kotlin/io/airbyte/integrations/destination/s3_data_lake/S3DataLakeWriteTest.kt

Co-authored-by: Edward Gao <[email protected]>
@frifriSF59
Copy link
Contributor Author

frifriSF59 commented Feb 7, 2025

/format-fix

Format-fix job started... Check job output.

βœ… Changes applied successfully. (ec46501)

@frifriSF59 frifriSF59 merged commit 85fab29 into master Feb 7, 2025
28 checks passed
@frifriSF59 frifriSF59 deleted the frifri/rest-catalog-inttest branch February 7, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/destination/s3-data-lake
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants