From d1d3ed7bff5e6922c8de4c452f69282c0c0a5b0f Mon Sep 17 00:00:00 2001 From: Rein Krul Date: Wed, 6 Dec 2023 14:35:52 +0100 Subject: [PATCH] Revert e2e test --- e2e-tests/oauth-flow/rfc021/run-test.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/e2e-tests/oauth-flow/rfc021/run-test.sh b/e2e-tests/oauth-flow/rfc021/run-test.sh index 95daff8bfe..7fafab3399 100755 --- a/e2e-tests/oauth-flow/rfc021/run-test.sh +++ b/e2e-tests/oauth-flow/rfc021/run-test.sh @@ -66,14 +66,14 @@ fi echo "------------------------------------" echo "Retrieving data..." echo "------------------------------------" -RESPONSE=$(docker compose exec nodeB curl --insecure --cert /opt/nuts/certificate-and-key.pem --key /opt/nuts/certificate-and-key.pem https://nodeA:443/ping -H "Authorization: bearer $(cat ./node-B/data/accesstoken.txt)" -v) -if echo $RESPONSE | grep -q "pong"; then - echo "success!" -else - echo "FAILED: Could not ping node-A" 1>&2 - echo $RESPONSE - exitWithDockerLogs 1 -fi +#RESPONSE=$(docker compose exec nodeB curl --insecure --cert /etc/nginx/ssl/server.pem --key /etc/nginx/ssl/key.pem https://nodeA:443/ping -H "Authorization: bearer $(cat ./node-B/data/accesstoken.txt)" -v) +#if echo $RESPONSE | grep -q "pong"; then +# echo "success!" +#else +# echo "FAILED: Could not ping node-A" 1>&2 +# echo $RESPONSE +# exitWithDockerLogs 1 +#fi echo "------------------------------------" echo "Stopping Docker containers..."