test: split simple into io/simple, run in parallel#172
test: split simple into io/simple, run in parallel#172indutny wants to merge 8 commits intonodejs:v0.12from
Conversation
|
I'm still +1 in a favor of calling it |
|
Here is a test split at the moment: I think it could be closer to 50% |
d477aab to
e610552
Compare
Support mixed parallel/sequential tests. Merge the `io` and `simple message` test runs together in a Makefile
e610552 to
8ed9bf1
Compare
|
In general, LGTM. A few thoughts:
|
Makefile
Outdated
There was a problem hiding this comment.
Is -J a typo? It's -j <jobs>, isn't it?
|
New test running time will make you cry, guys: |
|
@bnoordhuis: btw, |
|
Windows result: IOW, only the message tests are being run. |
|
With a trivial fix (updating https://github.com/iojs/io.js/blob/165b70f146e163b82a09bb869463708516c08cf6/vcbuild.bat#L166): That's great! I know it may not look so great to y'all spoiled unix users but that's 4 times faster than I'm used to. Two small issues turned up. 1: I got a lot of these: That's the test runner failing to delete a temp file. It doesn't cause any issues but it'd be nice to find out why it happens and if we should silence the error. 2: test-tls-server-verify timed out That test used to time out a lot but I hadn't seen any failures recently. |
|
Nice, LGTM. Just curious, is there a reason you had to change tests that bind to a random port? |
|
LGTM. 👏 |
|
However... I do see a number of failures on the CI. |
|
@bnoordhuis: Gosh, this is what I was fighting all day, and basically the reason why I was changing tests from |
|
@bnoordhuis seems to be fixed by latest commit: https://jenkins-node-forward.nodesource.com/job/iojs+any-pr+multi/ |
|
LGTM, although I don't understand why changing from a random port to common.PORT would fix tests. |
|
@bnoordhuis it looks like we was running the CI job in a wrong way. Also, the random port thing may conflict with |
Before:
After:
Fix #139