Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[FAB-17339] Refactor couchDB unit test (#482)
- Fixed couchDB stopExternalResource in ./core/ledger/kvledger/txmgmt/privacyenabledstate. Only stop external couchDB container in this function. Move all DB cleanups in cleanup function. - For package statecouchdb and couchdd TestMain, check package level global variable couchAddress before starting external couchDB container, which makes sure couchDB external resource only initialize once per package. Signed-off-by: Chongxin Luo <Chongxin.Luo@ibm.com>
- Loading branch information
1 parent
c491d69
commit 21fc6f6
Showing
12 changed files
with
198 additions
and
168 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
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
Oops, something went wrong.