Skip to content

Commit

Permalink
remove cli test
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup committed Feb 25, 2025
1 parent 5877450 commit b4b8919
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions t/cli/test_deployment_data_plane.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,3 @@ if [ ! $code -eq 404 ]; then
fi

echo "passed: data_plane should not enable Admin API"

echo '
deployment:
role: data_plane
role_data_plane:
config_provider: etcd
etcd:
host:
- https://127.0.0.1:12379
prefix: "/apisix"
timeout: 30
' > conf/config.yaml

out=$(make run 2>&1 || true)
make stop
if ! echo "$out" | grep 'failed to load the configuration: https://127.0.0.1:12379: certificate verify failed'; then
echo "failed: should verify certificate by default"
exit 1
fi

echo "passed: should verify certificate by default"

0 comments on commit b4b8919

Please sign in to comment.