Browse Source

tests: run subkey container without `-it` to work on github runner

Mokhtar Naamani 3 năm trước cách đây
mục cha
commit
966106f812
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      tests/network-tests/run-test-node-docker.sh

+ 3 - 1
tests/network-tests/run-test-node-docker.sh

@@ -13,7 +13,9 @@ mkdir -p ${DATA_PATH}
 # Will be the source of funds for all new accounts that are created in the tests.
 SUDO_INITIAL_BALANCE=${SUDO_INITIAL_BALANCE:=100000000}
 SUDO_ACCOUNT_URI=${SUDO_ACCOUNT_URI:="//Alice"}
-SUDO_ACCOUNT=$(docker run -it --rm --pull=always docker.io/parity/subkey:2.0.1 inspect ${SUDO_ACCOUNT_URI} --output-type json | jq .ss58Address -r)
+SUDO_ACCOUNT=$(docker run --rm --pull=always docker.io/parity/subkey:2.0.1 inspect ${SUDO_ACCOUNT_URI} --output-type json | jq .ss58Address -r)
+
+>&2 echo "sudo account from suri: ${SUDO_ACCOUNT}"
 
 # The docker image tag to use for joystream/node
 RUNTIME=${RUNTIME:=latest}