Skip to content

TestFoundation: use Thread.sleep(forTimeInterval:) rather than sleep #2127

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 17, 2019

Conversation

compnerd
Copy link
Member

sleep is not portable; use Thread.sleep(forTimeInterval:).

`sleep` is not portable; use `Thread.sleep(forTimeInterval:)`.
@compnerd
Copy link
Member Author

CC: @karthikkeyan

@compnerd
Copy link
Member Author

@swift-ci please test and merge

@karthikkeyan
Copy link
Contributor

@compnerd thank you very much for fixing my mistake. Apologies for any inconvenience it may have caused.

@compnerd
Copy link
Member Author

@swift-ci please test Linux platform

@compnerd compnerd merged commit 93180b8 into swiftlang:master Apr 17, 2019
@compnerd compnerd deleted the sleeping-beauty-sleeps-again branch April 17, 2019 23:11
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