-
Notifications
You must be signed in to change notification settings - Fork 471
use /usr/bin/vi instead of /usr/share/dict/words as test input #151
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
Conversation
@dgrove-oss Can you please create a bug for this test, so we can enable the test in the future? Thanks!
|
@swift-ci Please test Linux |
we just need "a large file" could you instead use a file that is here on any distribution that is large enough? /bin/systemctl is 500K /usr/bin/vi is probably also always here and in the MB range disabling test is wrong |
Sure. I can write the tests to look for different files instead. I've got the configure check working, so I will probably keep it and check for different input files. While we're playing with this, dispatch_io also wants another file (but skips the test without failing if it isn't there):
Suggestions for a replacement file here that will likely be on a distro? |
Can't we just create a file in a temporary directory? |
I'm taking Pierre's suggestion and using /usr/bin/vi as the input file instead. The configure check is probably overkill. Will push an update in a couple of minutes (testing it locally now). |
/usr/bin/vi will be on any reasonable distro; words may not be.
@swift-ci please test linux |
5b461c1
to
aed3841
Compare
@swift-ci please test linux |
|
The fail was in the dispatch_pingpong test, so not related to this change. Below is the output of the test log file:
|
is there something different in the build machines, the steps taken to build/test or the environment for testing pull requests against dispatch vs. the other CI testing that includes building & testing dispatch on Linux? A couple of the recent dispatch pull requests have failed by hanging while running dispatch_pingpong, but as far as I know we've never seen that hang happen in other CI configurations with dispatch and I can't reproduce it locally. |
I've seen the |
Any update here @seabaylea or @dgrove-oss? We're still blocked on merging URLSession because dispatch tests aren't passing. |
I want to see if this fails again in the same way. |
@swift-ci test linux |
This one should be good - we've got a couple of other failures though. I'm currently looking at those. |
I'm going to merge this. We will put up a different PR to disable the pingpong test, so as to make some forward progress here. |
…ilable to unblock CI work.