eric-maynard commented on code in PR #1060:
URL: https://github.com/apache/polaris/pull/1060#discussion_r1970311124


##########
regtests/run.sh:
##########
@@ -67,23 +67,26 @@ NUM_SUCCESSES=0
 export AWS_ACCESS_KEY_ID=''
 export AWS_SECRET_ACCESS_KEY=''
 
-if ! output=$(curl -X POST -H "Polaris-Realm: POLARIS" 
"http://${POLARIS_HOST:-localhost}:8181/api/catalog/v1/oauth/tokens"; \
-  -d "grant_type=client_credentials" \
-  -d "client_id=root" \
-  -d "client_secret=secret" \
-  -d "scope=PRINCIPAL_ROLE:ALL"); then
-  logred "Error: Failed to retrieve bearer token"
-  exit 1
-fi
+# Allow bearer token to be provided if desired
+if [ "REGTEST_ROOT_BEARER_TOKEN" != "" ]; then

Review Comment:
   Are you missing a `$` here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to