mapbox/node-mbtiles — Issue #19: test failures on master
Author: springmeyer
Created: 2012-03-07 01:54:19+00:00
State: open

I'm seeing a recursive test failure on master (with node v0.4.12):

```
> mbtiles@0.1.18 test /Users/dane/projects/node-mbtiles
> expresso

uncaught undefined: Error: EMFILE, Too many open files '/Users/dane/projects/node-mbtiles/test/fixtures/grids/'
at Object.readdirSync (fs.js:376:18)
at Statement. (/Users/dane/projects/node-mbtiles/test/write_grids.test.js:23:16)
--> in Database#run('PRAGMA synchronous=OFF', [Function])
at MBTiles.startWriting (/Users/dane/projects/node-mbtiles/lib/mbtiles.js:399:18)
at /Users/dane/projects/node-mbtiles/test/write_grids.test.js:19:17
at Function. (/Users/dane/projects/node-mbtiles/lib/mbtiles.js:68:9)
at next (/Users/dane/projects/node-mbtiles/node_modules/step/lib/step.js:51:23)

uncaught undefined: Error: EMFILE, Too many open files '/Users/dane/projects/node-mbtiles/test/fixtures/images/plain_1_7_13_4.png'

uncaught undefined: Error: EMFILE, Too many open files '/Users/dane/projects/node-mbtiles/test/fixtures/images/plain_1_7_14_4.png'

uncaught undefined: Error: EMFILE, Too many open files '/Users/dane/projects/node-mbtiles/test/fixtures/images/plain_1_7_15_4.png'

uncaught undefined: Error: EMFILE, Too many open files '/Users/dane/projects/node-mbtiles/test/fixtures/images/plain_1_7_1_3.png'

uncaught undefined: Error: EMFILE, Too many open files '/Users/dane/projects/node-mbtiles/test/fixtures/images/plain_1_7_2_3.png'
```