Skip to content

Commit

Permalink
set permission explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Feb 17, 2025
1 parent a39dbd9 commit cf6d486
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion t/cli/test_access_log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,12 @@ nginx_config:
http:
access_log_format: '\"\$upstream_scheme://\$upstream_host\" \$ssl_server_name'
" > conf/config.yaml

# Before starting APISIX in the failing test give
sudo chmod 644 conf/config.yaml
# 4. Start APISIX
make run
echo "CHECK PERMISSIONS"
ls -la conf/config.yaml
sleep 2

admin_key=$(yq '.deployment.admin.admin_key[0].key' conf/config.yaml | sed 's/"//g')
Expand Down

0 comments on commit cf6d486

Please sign in to comment.