Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write WAL and snapshots in temp dir when testing
Prevents the etcd/raft-based orderer from writing to the production path during tests. Instead it uses os.TempDir for WALs and snapshots. This makes FAB-12824 #done. Change-Id: I6bcdf5b0ac59575158e6bdb9e8d0e033f926b369 Signed-off-by: Kostas Christidis <kostas@christidis.io>
- Loading branch information
1 parent
859de27
commit 08b5332
Showing
3 changed files
with
4 additions
and
2 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