Skip to content

Disable tests that use the internet #945

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 1 commit into from
Apr 12, 2017
Merged

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Apr 11, 2017

Plist DTDs were recently moved from
http://www.apple.com/DTDs/PropertyList-1.0.dtd to
https://www.apple.com/DTDs/PropertyList-1.0.dtd (note the https).
libXML, however, is not setup to request DTDs from secure domains and
fails. This causes a spurious failure in the validation test checking
for failure and a real failure in the validation test checking for
success. In either case, these tests introduce a hard dependency on
the internet into the test suite. I’ve disabled them for now and filed
rdar://31567922 about this.

@CodaFi CodaFi requested a review from parkera April 11, 2017 23:12
@CodaFi
Copy link
Contributor Author

CodaFi commented Apr 11, 2017

@swift-ci test

@CodaFi
Copy link
Contributor Author

CodaFi commented Apr 11, 2017

I've also filed rdar://31568133 for the more general fix of getting the DTDs back into an unsecured domain.

Plist DTDs were recently moved from
http://www.apple.com/DTDs/PropertyList-1.0.dtd to
https://www.apple.com/DTDs/PropertyList-1.0.dtd (note the https).
libXML, however, is not setup to request DTDs from secure domains and
fails.  This causes a spurious failure in the validation test checking
for failure and a real failure in the validation test checking for
success.  In either case, these tests introduce a hard dependency on
the internet into the test suite.  I’ve disabled them for now and filed
rdar://31567922 about this.
@CodaFi
Copy link
Contributor Author

CodaFi commented Apr 11, 2017

@swift-ci test

@CodaFi
Copy link
Contributor Author

CodaFi commented Apr 12, 2017

⛵️

@CodaFi CodaFi merged commit 019f627 into swiftlang:master Apr 12, 2017
@CodaFi CodaFi deleted the you-dont-surf branch April 12, 2017 00:12
@DougGregor
Copy link
Member

Yay, thank you!

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.

4 participants