-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server,setectest: allow creating a server with a pre-made database
Particularly for tests, it is helpful if the database can be given to the server at construction time, rather than read in off disk. Add a new DB field to the server.Config. If this field is populated, it takes precedence over the DBPath and related fields. Otherwise, the DBPath, Key, and AuditLog fields are all required (as before) and have the same semantics.
- Loading branch information
1 parent
cd5c757
commit d6e0c84
Showing
3 changed files
with
66 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters