Skip to content

Order-agnostic result assertion#1419

Merged
mzur merged 2 commits intomasterfrom
annotation-report-test-fix
Apr 9, 2026
Merged

Order-agnostic result assertion#1419
mzur merged 2 commits intomasterfrom
annotation-report-test-fix

Conversation

@yannik131
Copy link
Copy Markdown
Contributor

The AnnotationReportGenerator returns a list of all labels attached to an annotation within a given session. The order of the rows is undefined (no ORDER BY), so the test can't rely on it.

@yannik131 yannik131 requested a review from mzur April 8, 2026 11:45
@yannik131 yannik131 marked this pull request as ready for review April 8, 2026 11:49
Copy link
Copy Markdown
Member

@mzur mzur left a comment

Choose a reason for hiding this comment

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

I didn't know about assertEqualsCanonicalizing. Seems like a good solution for these sometimes failing tests! I only have one suggestion for a small change, which I can apply myself.

@mzur mzur merged commit f6aac85 into master Apr 9, 2026
4 checks passed
@mzur mzur deleted the annotation-report-test-fix branch April 9, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants