-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cactus-plugin-ledger-connector-ethereum): add stress test
- Return JSON error before checking for Error instance in safeStringifyException (for cases when custom errror extends `Error` with `toJSON()` method) - Move artillery dependency up to the root (since its common tool depdenecy) - Add web3js http/ws provider options to connector. - Make http provider optional (can run on ws web3js provider only) - Don't register async endpoints when WS provider is not available. - Return 400 for invalid responses from ethereum ledger (to distinguish from connector errors) - In docker `geth-all-in-one` allow overwriting of default options when starting the ledger. - Add artillery stress test scripts - Template config and artillery functions file - Common environment setup file - CLI for running the test environment on a separate machine. - Jest test to run quickly stress test on same machine. Depends on #2631 Signed-off-by: Michal Bajer <[email protected]>
- Loading branch information
Showing
23 changed files
with
836 additions
and
159 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,3 +65,4 @@ site/ | |
tools/docker/geth-testnet/data-geth1/ | ||
|
||
.history/ | ||
.manual-geth-artillery-config.yaml |
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.