diff --git a/tests/ci/api_run.sh b/tests/ci/api_run.sh index 83f60ffd8bd..1877b2a11b8 100755 --- a/tests/ci/api_run.sh +++ b/tests/ci/api_run.sh @@ -27,7 +27,7 @@ elif [ "$1" = 'PROXY_CACHE' ]; then elif [ "$1" = 'LDAP' ]; then # run ldap api cases python $DIR/../../tests/configharbor.py -H $IP -u $HARBOR_ADMIN -p $HARBOR_ADMIN_PASSWD -c auth_mode=ldap_auth \ - ldap_url=ldap://$IP \ + ldap_url=ldaps://$IP \ ldap_search_dn=cn=admin,dc=example,dc=com \ ldap_search_password=admin \ ldap_base_dn=dc=example,dc=com \ diff --git a/tests/resources/Harbor-Util.robot b/tests/resources/Harbor-Util.robot index 4d466255adc..a6ba2e080b0 100644 --- a/tests/resources/Harbor-Util.robot +++ b/tests/resources/Harbor-Util.robot @@ -80,7 +80,7 @@ Switch To LDAP Config Harbor cfg auth=ldap_auth http_proxy=https Prepare Up Harbor - Docker Pull osixia/openldap:1.1.7 + Docker Pull osixia/openldap:1.5.0 ${rc} ${output}= Run And Return Rc And Output cd tests && ./ldapprepare.sh Log ${rc} Log ${output}