Re: Kafka Unit Test Failures on a Mac

2015-07-22 Thread Ismael Juma
On Mon, Jul 20, 2015 at 10:45 PM, Grant Henke wrote: > In one run of the core tests I found the following: > >- 4584 regular files (REG) >- 376 .jar files > - Not much one can/should do here. Many are from gradle itself. > - 2392 kafka .log files > - why are these

Re: Kafka Unit Test Failures on a Mac

2015-07-20 Thread Grant Henke
Thanks Ismael! I agree clear failures or no failures is optimal. I did some hacky analysis of the open files by running the tests and utilizing the lsof command. In one run of the core tests I found the following: - 4584 regular files (REG) - 376 .jar files - Not much one can/shou

Re: Kafka Unit Test Failures on a Mac

2015-07-19 Thread Ismael Juma
Hello Grant, Thanks for figuring this out. I have also run into this issue when running the tests on OS X Yosemite. Ideally the tests would fail in a way that would make it clear what the issue is. That may be complicated, so we should at least document it as you suggest. I'll let you know if th

Kafka Unit Test Failures on a Mac

2015-07-19 Thread Grant Henke
When running all Kafka tests I had been getting failures most every time. Usually in the SocketServerTest class. However, when I would run individual tests, there were no failures. After a bit of digging I found this is due to the small default open files limit in Mac Yosemite. I am positing how to