Skip to content

Load CDK Tests: Generalize Microbatch Fix for State Ack-Dependent Tests - #52076

Merged
Johnny Schmidt (johnny-schmidt) merged 1 commit into
masterfrom
jschmidt/load-cdk/generalize-microbatch-fix-for-hanging-tests
Jan 23, 2025
Merged

Johnny Schmidt (johnny-schmidt) merged 1 commit into
masterfrom
jschmidt/load-cdk/generalize-microbatch-fix-for-hanging-tests

Conversation

@johnny-schmidt

Copy link
Copy Markdown
Contributor

What

application.yaml airbyte.destination.record-batch-size-override is applied to the flush strategy, instead of threaded through s3 config. this generalizes the fix for all connectors. tests will microbatch (1b) and therefore always flush, always do work, always complete state, etc.

(additionally, for object storage toolkit users (currently only s3), it overrides the file size as well)

Jimmy Ma (@gosusnp) I verified that this fixes resumeAfterCancelledTruncate for you.

@vercel

vercel Bot commented Jan 22, 2025 •

Copy link
Copy Markdown

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 Jan 23, 2025 5:52pm

@johnny-schmidt

Copy link
Copy Markdown
Contributor Author

Edward Gao (@edgao) this unblocks the corresponding tests on s3-data-lake and closes https://github.com/airbytehq/airbyte-internal-issues/issues/11162

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.

Thank you sir!

@edgao

Copy link
Copy Markdown
Contributor

@edgao

Copy link
Copy Markdown
Contributor

integration test failures aside, it looks like CDK unit tests are also failing https://scans.gradle.com/s/6umgh3no43sgo/tests/overview?outcome=FAILED (DefaultFlushStrategyTest)

@edgao

Copy link
Copy Markdown
Contributor

also for the record, integration tests are now failing b/c we can't find the connector docker image https://airbytehq-team.slack.com/archives/C03VDJ4FMJB/p1737578849290219?thread_ts=1737569697.074979&cid=C03VDJ4FMJB

@johnny-schmidt

Copy link
Copy Markdown
Contributor Author

@johnny-schmidt

Copy link
Copy Markdown
Contributor Author

integration test failures aside, it looks like CDK unit tests are also failing https://scans.gradle.com/s/6umgh3no43sgo/tests/overview?outcome=FAILED (DefaultFlushStrategyTest)

Fixed

@johnny-schmidt
Johnny Schmidt (johnny-schmidt) force-pushed the jschmidt/load-cdk/generalize-microbatch-fix-for-hanging-tests branch from 4066a2a to 37aa44b Compare January 23, 2025 17:46
@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added the area/documentation Improvements or additions to documentation label Jan 23, 2025

This branch was successfully deployed

1 active deployment
Preview — 37aa44bc Deployed Jan 23, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants