Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
* Use gateway with localhost=false

Signed-off-by: CaptainIRS <[email protected]>
  • Loading branch information
CaptainIRS committed Oct 28, 2022
1 parent 5d7e07f commit 84beca2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/caliper-tests-integration/fabric_tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,23 +138,23 @@ if [[ "${BIND_IN_PACKAGE_DIR}" = "true" ]]; then
fi

# PHASE 1: just starting the network
${CALL_METHOD} launch manager --caliper-workspace phase1 --caliper-flow-only-start
${CALL_METHOD} launch manager --caliper-workspace phase1 --caliper-flow-only-start --caliper-fabric-gateway-localhost false
rc=$?
if [[ ${rc} != 0 ]]; then
echo "Failed CI step 1";
exit ${rc};
fi

# PHASE 2: testing through the low-level API
${CALL_METHOD} launch manager --caliper-workspace phase2 --caliper-flow-only-test
${CALL_METHOD} launch manager --caliper-workspace phase2 --caliper-flow-only-test --caliper-fabric-gateway-localhost false
rc=$?
if [[ ${rc} != 0 ]]; then
echo "Failed CI step 2";
exit ${rc};
fi

# PHASE 3: testing through the gateway API (v1 SDK)
${CALL_METHOD} launch manager --caliper-workspace phase3 --caliper-flow-only-test --caliper-fabric-gateway-enabled
${CALL_METHOD} launch manager --caliper-workspace phase3 --caliper-flow-only-test --caliper-fabric-gateway-enabled --caliper-fabric-gateway-localhost false
rc=$?
if [[ ${rc} != 0 ]]; then
echo "Failed CI step 3";
Expand All @@ -174,7 +174,7 @@ if [[ "${BIND_IN_PACKAGE_DIR}" = "true" ]]; then
fi

# PHASE 4: testing through the gateway API (v2 SDK)
${CALL_METHOD} launch manager --caliper-workspace phase4 --caliper-flow-only-test
${CALL_METHOD} launch manager --caliper-workspace phase4 --caliper-flow-only-test --caliper-fabric-gateway-localhost false
rc=$?
if [[ ${rc} != 0 ]]; then
echo "Failed CI step 4";
Expand All @@ -194,7 +194,7 @@ if [[ "${BIND_IN_PACKAGE_DIR}" = "true" ]]; then
fi

# PHASE 5: testing through the peer gateway API (fabric-gateway SDK)
${CALL_METHOD} launch manager --caliper-workspace phase5 --caliper-flow-only-test
${CALL_METHOD} launch manager --caliper-workspace phase5 --caliper-flow-only-test --caliper-fabric-gateway-localhost false
rc=$?
if [[ ${rc} != 0 ]]; then
echo "Failed CI step 5";
Expand Down

0 comments on commit 84beca2

Please sign in to comment.