Fix ports

This commit is contained in:
Wilfried Kopp
2022-08-10 10:36:20 +02:00
committed by Chevdor
parent c6b1e30d3c
commit d084d638c0
@@ -70,7 +70,7 @@ jobs:
- name: Start local reference node for ${{ matrix.runtime }} - name: Start local reference node for ${{ matrix.runtime }}
run: | run: |
echo Running reference on ${{ matrix.local }} echo Running reference on ${{ matrix.local }}
$TMP/$BIN_REF --chain=${{ matrix.local }} --ws-port=9945 --tmp -- --chain ${{ matrix.relay }} & $TMP/$BIN_REF --chain=${{ matrix.local }} --ws-port=9954 --tmp -- --chain ${{ matrix.relay }} &
sleep 15 sleep 15
- name: Start local test node for ${{ matrix.runtime }} - name: Start local test node for ${{ matrix.runtime }}
@@ -98,7 +98,7 @@ jobs:
- name: Compare the metadata - name: Compare the metadata
run: | run: |
CMD="docker run --pull always --network host jacogr/polkadot-js-tools metadata ws://localhost:9945 ws://localhost:9944" CMD="docker run --pull always --network host jacogr/polkadot-js-tools metadata ws://localhost:9954 ws://localhost:9944"
echo -e "Running:\n$CMD" echo -e "Running:\n$CMD"
$CMD >> output.txt $CMD >> output.txt
sed -z -i 's/\n\n/\n/g' output.txt sed -z -i 's/\n\n/\n/g' output.txt