-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
/format-fix
|
...st-integration/kotlin/io/airbyte/integrations/destination/s3_data_lake/RestTestContainers.kt
Show resolved
Hide resolved
// so just poll until these methods stop throwing exceptions | ||
while (true) { | ||
try { | ||
testcontainers.getServicePort("spark-iceberg", 8080) |
There was a problem hiding this comment.
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 π€· )
...t-integration/kotlin/io/airbyte/integrations/destination/s3_data_lake/S3DataLakeWriteTest.kt
Show resolved
Hide resolved
"catalog_type": { | ||
"catalog_type": "REST", | ||
"server_uri": "http://$restEndpoint:8181", | ||
"namespace": "test" |
There was a problem hiding this comment.
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>"
β¦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]>
/format-fix
|
What
Adding integration tests around the rest catalog
Can this PR be safely reverted and rolled back?