diff --git a/test/e2e/setup/e2e_setup.sh b/test/e2e/setup/e2e_setup.sh index 1858386e..0059ce6b 100755 --- a/test/e2e/setup/e2e_setup.sh +++ b/test/e2e/setup/e2e_setup.sh @@ -79,6 +79,7 @@ sleep 5 # wait 5 seconds for the service ready # the consumer name is not specified, the consumer id will be used as the consumer name export consumer_name=$(curl -k -X POST -H "Content-Type: application/json" https://${external_host_ip}:30080/api/maestro/v1/consumers -d '{}' | jq '.id') +consumer_name=$(echo "$consumer_name" | sed 's/"//g') echo $consumer_name > ./test/e2e/.consumer_name # 6. deploy maestro agent into maestro-agent namespace