Skip to content

Commit

Permalink
Redo headings in test suite readme
Browse files Browse the repository at this point in the history
  • Loading branch information
p committed Nov 24, 2020
1 parent a82468f commit dd92fd5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions spec/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Running Mongoid Tests

## Overview
### Quick Start
Spin up a MongoDB deployment against which to run the Mongoid specs. Mongoid specs support a variety of MongoDB topologies, but the simplest is a single MongoDB instance:
## Quick Start

Spin up a MongoDB deployment against which to run the Mongoid specs.
Mongoid specs support a variety of MongoDB topologies, but the simplest is
a single MongoDB instance:

# Launch mongod in one terminal
mkdir /tmp/mdb
Expand All @@ -14,5 +16,11 @@ Run the test suite in a separate terminal:


## Caveats

### "Too many open files" error
On MacOS, you may encounter a "Too many open files" error on the MongoDB server when running the tests. If this happens, stop the server, run the command `ulimit -n 10000` in the same terminal session as the server, and restart the server. This will increase the number of files that can be opened. Then, re-run the tests.

On MacOS, you may encounter a "Too many open files" error on the MongoDB server
when running the tests. If this happens, stop the server, run the command
`ulimit -n 10000` in the same terminal session as the server, and restart
the server. This will increase the number of files that can be opened.
Then, re-run the tests.

0 comments on commit dd92fd5

Please sign in to comment.