Commit effed335 authored by QM's avatar QM

fix chain33Host ip

parent 14946882
...@@ -22,7 +22,6 @@ go build -i ${FLAG} -v -o "${OUT_DIR}/ebcli_C" -ldflags "-X ${SRC_EBCLI}/buildfl ...@@ -22,7 +22,6 @@ go build -i ${FLAG} -v -o "${OUT_DIR}/ebcli_C" -ldflags "-X ${SRC_EBCLI}/buildfl
go build -i ${FLAG} -v -o "${OUT_DIR}/ebcli_D" -ldflags "-X ${SRC_EBCLI}/buildflags.RPCAddr=http://localhost:9904" "${SRC_EBCLI}" go build -i ${FLAG} -v -o "${OUT_DIR}/ebcli_D" -ldflags "-X ${SRC_EBCLI}/buildflags.RPCAddr=http://localhost:9904" "${SRC_EBCLI}"
cp ../ebrelayer/relayer.toml "${OUT_DIR}/relayer.toml" cp ../ebrelayer/relayer.toml "${OUT_DIR}/relayer.toml"
cp ../testsh/publicTest.sh "${OUT_DIR}/publicTest.sh"
cp ./build/* "${OUT_DIR}" cp ./build/* "${OUT_DIR}"
OUT_TESTDIR="${1}/dapptest/$strapp" OUT_TESTDIR="${1}/dapptest/$strapp"
......
...@@ -315,7 +315,7 @@ function updata_relayer_toml() { ...@@ -315,7 +315,7 @@ function updata_relayer_toml() {
local maturityDegree=${2} local maturityDegree=${2}
local file=${3} local file=${3}
local chain33Host=$(docker inspect build_chain33_1 | jq ".[].NetworkSettings.Networks.build_default.IPAddress" | sed 's/\"//g') local chain33Host=$(docker inspect "${NODE3}" | jq ".[].NetworkSettings.Networks.build_default.IPAddress" | sed 's/\"//g')
if [[ ${chain33Host} == "" ]]; then if [[ ${chain33Host} == "" ]]; then
echo -e "${RED}chain33Host is empty${NOC}" echo -e "${RED}chain33Host is empty${NOC}"
exit 1 exit 1
......
...@@ -16,5 +16,6 @@ function x2ethereum() { ...@@ -16,5 +16,6 @@ function x2ethereum() {
set -x set -x
AllRelayerMainTest 1 AllRelayerMainTest 1
perf_test_main 10 perf_test_main 10
echo "========================== x2ethereum test end =========================="
fi fi
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment