-
Notifications
You must be signed in to change notification settings - Fork 708
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CR adds to the unit-tests calls to ca.closeDB so that the DB file can effectively be removed, and error checking to catch any problems with the removal of test files. With these changes the unit-tests pass: $ go test -v === RUN TestCABadCACertificates 2017/10/10 14:00:54 [INFO] The CA key and certificate already exist 2017/10/10 14:00:54 [INFO] The key is stored by BCCSP provider 'SW' ... 2017/10/10 14:03:14 [DEBUG] Closing server DBs 2017/10/10 14:03:15 [DEBUG] Stop: successful stop on port 7075 --- PASS: TestRegisterationAffiliation (1.81s) === RUN TestEnd --- PASS: TestEnd (0.14s) === RUN TestSRVServerClean --- PASS: TestSRVServerClean (0.03s) PASS ok github.com/hyperledger/fabric-ca/lib 141.073s Patch-set #2: rebase Change-Id: Iea4b8afce63cc1bf7a8c100322d2736ffd056156 Signed-off-by: Arnaud J Le Hors <[email protected]>
- Loading branch information
Showing
1 changed file
with
77 additions
and
36 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