Skip to content

Commit bd38149

Browse files
authored
Add instructions to enable fail points for test suite (#846)
Several tests require use of the configureFailPoint command to trigger server-side errors. The command must be enabled via configuration file or command line option when starting mongod. The configureFailPoint command is not yet documented; see DOCS-10784.
1 parent f44f868 commit bd38149

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,12 @@ the .rst files.
120120

121121
### Testing
122122

123-
To run the entire test suite, including authentication tests,
124-
start `mongod` with auth enabled:
123+
To run the entire test suite, including authentication and support for the
124+
`configureFailPoint` command, start `mongod` with security and test commands
125+
enabled:
125126

126127
```
127-
$ mongod --auth
128+
$ mongod --auth --setParameter enableTestCommands=1
128129
```
129130

130131
In another terminal, use the `mongo` shell to create a user:

0 commit comments

Comments
 (0)