-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[Load CDK] test improvements #50406
[Load CDK] test improvements #50406
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
val stream = | ||
DestinationStream( | ||
DestinationStream.Descriptor(randomizedNamespace, "problematic_types"), | ||
Append, | ||
ObjectType( | ||
linkedMapOf( | ||
"id" to | ||
"id" to intType, |
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.
adding an explicit id
field helps RecordDiffer generate a nicer diff (i.e. instead of saying "there was an extra record, and also a missing record", it'll be able to match the records together + diff their fields)
0e479de
to
797e691
Compare
44f9a6d
to
2af3dc8
Compare
2af3dc8
to
1d3fe56
Compare
1d3fe56
to
6b4d481
Compare
@@ -37,6 +37,9 @@ dependencies { | |||
// temporary dependencies so that we can continue running the legacy test suite. | |||
// eventually we should remove those tests + rely solely on the bulk CDK tests. | |||
integrationTestLegacyImplementation testFixtures(project(":airbyte-cdk:java:airbyte-cdk:airbyte-cdk-s3-destinations")) | |||
|
|||
// TODO this should come from from the cdk plugin + respect the cdk version | |||
integrationTestImplementation testFixtures(project(":airbyte-cdk:bulk:toolkits:bulk-cdk-toolkit-load-avro")) |
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 - submitted https://github.com/airbytehq/airbyte-internal-issues/issues/11245 + assigned it to myself, I want to knock this out before I forget, but don't want to block this PR on it
closes https://github.com/airbytehq/airbyte-internal-issues/issues/11218, closes https://github.com/airbytehq/airbyte-internal-issues/issues/11221
as usual, just look at each commit individually:
FailOnAllUnknownTypesExceptNull
mapper, and it's also doing this