-
Notifications
You must be signed in to change notification settings - Fork 68
[AL-6733] Add ADV specific assertion #1199
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
Conversation
| task.wait_till_done() | ||
| assert task.status == "FAILED" | ||
| assert len(task.failed_data_rows) > 0 | ||
| if is_adv_enabled: |
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.
@kkim-labelbox another difference in ADV
I documented this here
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.
Is this because ADV partially fails now when there's an error with validation of metadata on one data row?
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.
It partially succeeds instead. What can be imported, will be imported. The rest will be reported as failures.
An ADV import task won't fail when invalid metadata was given in the payload so a slightly different assertion is needed.