fix: run http+libp2p test against correct port
seems we were testing regular gateway instead of proxied one
Marcin Rataj committed
Sep 6, 2023 at 03:20 UTC
3fa7ef8879a35b3f0474decb5b77d1d90437fcf7
1 file changed
+2
-2
.github/workflows/gateway-conformance.yml
+2
-2
@@ -197,14 +197,14 @@ jobs:
197
run: |
198
gatewayNodeId=$(./ipfs --api=/ip4/127.0.0.1/tcp/5001 id -f="<id>")
199
./ipfs --api=/ip4/127.0.0.1/tcp/5002 swarm connect $(./ipfs --api=/ip4/127.0.0.1/tcp/5001 swarm addrs local --id | head -n 1)
200
- ./ipfs --api=/ip4/127.0.0.1/tcp/5002 p2p forward --allow-custom-protocol /http/1.1 /ip4/127.0.0.1/tcp/8082 /p2p/$gatewayNodeId
200
+ ./ipfs --api=/ip4/127.0.0.1/tcp/5002 p2p forward --allow-custom-protocol /http/1.1 /ip4/127.0.0.1/tcp/8092 /p2p/$gatewayNodeId
201
working-directory: kubo-gateway/cmd/ipfs
202
203
# 9. Run the gateway-conformance tests over libp2p
204
- name: Run gateway-conformance tests over libp2p
205
uses: ipfs/gateway-conformance/.github/actions/test@v0.3
206
with:
207
- gateway-url: http://127.0.0.1:8081
207
+ gateway-url: http://127.0.0.1:8092
208
json: output.json
209
xml: output.xml
210
html: output.html