add testcase check connect.EndpointConfig not nil Upstream-commit: d0602ae8d8 Component: cli
d0602ae8d8