Skip to content

Remove fragile test #62635

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

Merged
merged 2 commits into from
Jul 22, 2025
Merged

Remove fragile test #62635

merged 2 commits into from
Jul 22, 2025

Conversation

nyalldawson
Copy link
Collaborator

@agiudiceandrea this test is fragile, and it's non-trivial to fix. The algorithm is using a hash to track unique geometries so the ordering of features considered is non-deterministic, and this means that the feature considered to be the duplicate is non-deterministic in the outputs.

@github-actions github-actions bot added this to the 3.46.0 milestone Jul 21, 2025
@agiudiceandrea
Copy link
Member

agiudiceandrea commented Jul 21, 2025

So, the following files are no longer needed:
python/plugins/processing/tests/testdata/expected/delete_duplicates_removed.gml
python/plugins/processing/tests/testdata/expected/delete_duplicates_removed.xsd
python/plugins/processing/tests/testdata/lines_with_duplicates_and_nulls.gfs
python/plugins/processing/tests/testdata/lines_with_duplicates_and_nulls.gml

Copy link
Contributor

github-actions bot commented Jul 22, 2025

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit bedb6ce)

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit bedb6ce)

🍎 MacOS Qt6 builds

Download MacOS Qt6 builds of this PR for testing.
This installer is not signed, control+click > open the app to avoid the warning
(Built from commit bedb6ce)

@nyalldawson nyalldawson merged commit 78482ef into qgis:master Jul 22, 2025
33 checks passed
@nyalldawson nyalldawson deleted the fix_fragile_test branch July 22, 2025 01:40
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