Skip to content

Fix nondeterministic ordering with postgres on artifacts - #3287

Merged
strailov merged 3 commits into
eclipse-hawkbit:masterfrom
boschglobal:fix/nondeterministic_ordering_with_postgres
Aug 14, 2026
Merged

Fix nondeterministic ordering with postgres on artifacts#3287
strailov merged 3 commits into
eclipse-hawkbit:masterfrom
boschglobal:fix/nondeterministic_ordering_with_postgres

Conversation

@strailov

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
@avgustinmm

Copy link
Copy Markdown
Contributor

AFAIR, hawkbit we don't, in general, sort list/set collections. Sorting just this one - seems a little bit awkward.
Lists are just collections. I think the tests shall be fixed to compare lists as sets - not as ordered lists. We don't have any sort contracts. Having MySQL and H2 sorting anyway doesn't imply the hawkbit does it.
Just maybe using Set instead of List will match better.

@strailov

Copy link
Copy Markdown
Contributor Author

Changed the tests, however not sure we should target Set instead of List here - not worth it IMHO, because there are more files to touch with potential bug introduction.

@strailov
strailov merged commit 32f55fa into eclipse-hawkbit:master Aug 14, 2026
6 checks passed
@strailov
strailov deleted the fix/nondeterministic_ordering_with_postgres branch August 14, 2026 06:57
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