Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FABN-1489] Clean up integration tests #134

Merged
merged 1 commit into from
Feb 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions docs/tutorials/transaction-commit-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ class MyTransactionEventHandler {
/**
* Cancel listening for events.
*/
cancelListening() { /* Your imeplementation here */ }
cancelListening() { /* Your implementation here */ }
}
```

For a complete sample plug-in event handler implementation, see [sample-transaction-event-handler.js](https://github.com/hyperledger/fabric-sdk-node/blob/master/test/integration/network-e2e/sample-transaction-event-handler.js).
For a complete sample plug-in event handler implementation, see [sample-transaction-event-handler.ts](https://github.com/hyperledger/fabric-sdk-node/blob/master/test/ts-scenario/config/handlers/sample-transaction-event-handler.ts).
10 changes: 5 additions & 5 deletions scripts/npm_scripts/runTape.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ runTape() {
export HFC_LOGGING='{"debug":"test/temp/debug.log"}'

# Run HSM tests by default
E2E_SCRIPT_SUFFIX=-hsm
HSM_SCRIPT=test/integration/network-e2e/e2e-hsm.js
# If the script has been called with noHSM parameter
# run test/integration/network-e2e/e2e.js instead of test/integration/network-e2e/e2e-hsm.js
# exclude test/integration/network-e2e/e2e-hsm.js
if [ $1 ] && [ $1 == 'noHSM' ]
then
unset E2E_SCRIPT_SUFFIX
unset HSM_SCRIPT
fi

# Tests have to executed in the following order
# Tests have to be executed in the following order

# First run the ca-tests that run good/bad path member registration/enrollment scenarios
# The remaining tests re-use the same key value store with the saved user certificates, in order to interact with the network
Expand All @@ -31,7 +31,7 @@ runTape() {
test/integration/fabric-ca-certificate-service-tests.js \
test/integration/fabric-ca-services-tests.js \
test/integration/e2e.js \
test/integration/network-e2e/e2e${E2E_SCRIPT_SUFFIX}.js \
${HSM_SCRIPT} \
| npx tap-colorize
}

Expand Down

This file was deleted.

This file was deleted.

Loading