Swift: Ignore some DB-CHECK results on Linux#21474
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Swift POSIX integration tests to tolerate known Linux-only DB-CHECK noise (coming from standard libraries) by marking DB-CHECK as an expected failure on Linux, enabling the integration test suite to be re-enabled without requiring extractor fixes right now.
Changes:
- Mark
DB-CHECKasxfailon Linux for the Swift POSIXhello-worldintegration test. - Mark
DB-CHECKasxfailon Linux for the Swift POSIXdeduplicationintegration test (and add the missingpytestimport).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| swift/ql/integration-tests/posix/hello-world/test.py | Adds a Linux-conditional xfail for the DB-CHECK ql_test marker. |
| swift/ql/integration-tests/posix/deduplication/test.py | Adds pytest import and a Linux-conditional xfail for DB-CHECK. |
You can also share your feedback on Copilot code review. Take the survey.
IdrissRio
left a comment
There was a problem hiding this comment.
Your point is valid.
Would it make sense to track this in an issue and link this PR, since it provides some context?
We have more of these, although those are not specific to Linux, so I don't think it makes sense to make a specific issue of this. |
Some DB-CHECK results show up on Linux when re-enabling the integration tests. These seem to come from some standard libraries, and there's a limited number of them, so this does not seem worth fixing at this point.