forked from hyperledger-labs/blockchain-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BE-834 Fix memory leak issue of sync process (hyperledger-labs#206)
* BE-834 Fix memory leak issue in the setup of DS Changed to keep a discovery service instance after initializing it at the boot phase. Signed-off-by: Atsushi Neki <[email protected]> * BE-834 Add unit test for the fix of memory leak issue Signed-off-by: Atsushi Neki <[email protected]> * Add code coverage for unit test Signed-off-by: Atsushi Neki <[email protected]>
- Loading branch information
Showing
68 changed files
with
2,526 additions
and
7,484 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"require": "./node_modules/ts-node/register", | ||
"watch-extensions": "ts", | ||
"recursive": true, | ||
"spec": ["./app/test/**/*.test.ts"], | ||
"timeout": 10000, | ||
"extension": ["ts"] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"extends": "@istanbuljs/nyc-config-typescript", | ||
"require": ["ts-node/register"], | ||
"extension": [".ts"], | ||
"reporter": ["lcov", "text-summary"], | ||
"sourceMap": true, | ||
"instrument": true, | ||
"temp-dir": "app/test/.nyc_output", | ||
"report-dir": "app/test/coverage", | ||
"all": true, | ||
"include": ["app"], | ||
"exclude": ["**/e2e-test", "app/test"], | ||
"check-coverage": false, | ||
"branches": 80, | ||
"lines": 80, | ||
"functions": 80, | ||
"statements": 80 | ||
} |
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.