Skip to content

tests: Add new options to OpenLineage test operator#67195

Merged
mobuchowski merged 1 commit into
apache:mainfrom
kacpermuda:feat-ol-test-operator-update
May 20, 2026
Merged

tests: Add new options to OpenLineage test operator#67195
mobuchowski merged 1 commit into
apache:mainfrom
kacpermuda:feat-ol-test-operator-update

Conversation

@kacpermuda
Copy link
Copy Markdown
Collaborator

Some changes to the operator used in system tests only !

Added possibility to assert lack of event, count of events (exact, >= and <=), added ability to specify optional fields and fields that need to be absent. Fast_fail mode is no longer default, we'll see errors for all events. Added a way to compare multiple actual events (added way to sort them) against exact list of expected events - useful for mapped tasks.

Adjusted operators to take advantage of those new changes (and some recent OL changes, like inlet/outlet translation), adjusted templates as well.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@kacpermuda kacpermuda requested a review from mobuchowski as a code owner May 19, 2026 15:59
@kacpermuda kacpermuda force-pushed the feat-ol-test-operator-update branch 4 times, most recently from afa9b1a to f86a3ee Compare May 20, 2026 12:37
Copy link
Copy Markdown
Contributor

@mobuchowski mobuchowski left a comment

Choose a reason for hiding this comment

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

Thanks for improving the testing environment!

@kacpermuda kacpermuda force-pushed the feat-ol-test-operator-update branch from f86a3ee to 07b7fca Compare May 20, 2026 13:30
@kacpermuda
Copy link
Copy Markdown
Collaborator Author

Test failures are unrelated, from main, all from common.ai provider: ModuleNotFoundError: No module named 'langchain'

@mobuchowski mobuchowski merged commit 58a60ed into apache:main May 20, 2026
137 of 140 checks passed
@kacpermuda kacpermuda deleted the feat-ol-test-operator-update branch May 20, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants