Skip to content
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

Remove tests relying on OS-dependent behaviour #703

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

Lukasa
Copy link
Collaborator

@Lukasa Lukasa commented Aug 10, 2023

Motivation

URL parsing has changed in macOS Sonoma and associated releases. Our tests were reliant on the old behaviour. The behaviour is controlled by the OS on which the program was linked, which makes it impossible for us to programmatically work out which result we should see.

The affected tests are not actually useful, we don't really care how the URLs parse, so we can safely just remove them.

Modifications

Remove the affected tests.

Result

Tests pass!

Motivation

URL parsing has changed in macOS Sonoma and associated releases. Our
tests were reliant on the old behaviour. The behaviour is controlled
by the OS on which the program was linked, which makes it impossible
for us to programmatically work out which result we should see.

The affected tests are not actually useful, we don't really care how
the URLs parse, so we can safely just remove them.

Modifications

Remove the affected tests.

Result

Tests pass!
@Lukasa Lukasa added the semver/none For PRs that when merged do not need a bump in version number. label Aug 10, 2023
@Lukasa Lukasa enabled auto-merge (squash) August 10, 2023 10:27
@Lukasa Lukasa merged commit 62c06d4 into swift-server:main Aug 10, 2023
@Lukasa Lukasa deleted the cb-url-parsing-changes branch August 10, 2023 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none For PRs that when merged do not need a bump in version number.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants