diff --git a/tests/apitests/python/test_del_repo.py b/tests/apitests/python/test_del_repo.py index d797f8b12c2..354c607a69f 100644 --- a/tests/apitests/python/test_del_repo.py +++ b/tests/apitests/python/test_del_repo.py @@ -54,7 +54,7 @@ def testDelRepo(self): TestProjects.project_del_repo_id, TestProjects.project_del_repo_name = self.project.create_project(metadata = {"public": "false"}, **TestProjects.USER_del_repo_CLIENT) #3. Create a new repository(RA) in project(PA) by user(UA); - repo_name, _ = push_self_build_image_to_project(TestProjects.project_del_repo_name, harbor_server, admin_user, admin_pwd, "test_del_repo", "latest", size=512) + repo_name, _ = push_self_build_image_to_project(TestProjects.project_del_repo_name, harbor_server, admin_user, admin_pwd, "test_del_repo", "latest", size=16) #4. Get repository in project(PA), there should be one repository which was created by user(UA); repo_data = self.repo.list_repositories(TestProjects.project_del_repo_name, **TestProjects.USER_del_repo_CLIENT) diff --git a/tests/resources/Docker-Util.robot b/tests/resources/Docker-Util.robot index 64f989494a0..80edc22e0f1 100644 --- a/tests/resources/Docker-Util.robot +++ b/tests/resources/Docker-Util.robot @@ -117,7 +117,7 @@ Get Container IP Start Docker Daemon Locally ${pid}= Run ps aux | grep -v grep | grep /usr/local/bin/dockerd | awk '{print $2}' ${rc} ${output}= Run And Return Rc And Output ./tests/robot-cases/Group0-Util/docker_config.sh - Log ${output} + Log To Console output: ${output} Should Be Equal As Integers ${rc} 0 Log To Console pid: ${pid} Return From Keyword If '${pid}' != '${EMPTY}' diff --git a/tests/robot-cases/Group0-Util/docker_config.sh b/tests/robot-cases/Group0-Util/docker_config.sh index 1498fbfdb3b..4ad81a1c26f 100755 --- a/tests/robot-cases/Group0-Util/docker_config.sh +++ b/tests/robot-cases/Group0-Util/docker_config.sh @@ -15,7 +15,14 @@ mkdir -p /etc/docker if [ "$HARBOR_HOST_SCHEMA" = "http" ]; then cat > /etc/docker/daemon.json < /etc/docker/daemon.json <