Skip to content

Commit

Permalink
Revert e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Dec 6, 2023
1 parent e33d9ab commit d1d3ed7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions e2e-tests/oauth-flow/rfc021/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit d1d3ed7

Please sign in to comment.