From 98edef3c450bdba2fa60d7ddb97b2ceca21fadd3 Mon Sep 17 00:00:00 2001 From: chalsliu <45041955+chalsliu@users.noreply.github.com> Date: Thu, 10 Dec 2020 11:27:17 +0800 Subject: [PATCH] Optimize accurate testing --- tools/get_pr_ut.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/get_pr_ut.py b/tools/get_pr_ut.py index 174f5d1756..cb24359e67 100644 --- a/tools/get_pr_ut.py +++ b/tools/get_pr_ut.py @@ -175,7 +175,7 @@ class PRChecker(object): check_added_ut = False ut_list = [] file_ut_map = None - cmd = 'wget -q --no-check-certificate https://sys-p0.bj.bcebos.com/prec/file_ut.json' + self.suffix + cmd = 'wget -q --no-proxy --no-check-certificate https://sys-p0.bj.bcebos.com/prec/file_ut.json' + self.suffix os.system(cmd) with open('file_ut.json' + self.suffix) as jsonfile: file_ut_map = json.load(jsonfile) @@ -204,7 +204,7 @@ class PRChecker(object): else: ut_list.extend(file_ut_map.get(f)) ut_list = list(set(ut_list)) - cmd = 'wget -q --no-check-certificate https://sys-p0.bj.bcebos.com/prec/prec_delta' + self.suffix + cmd = 'wget -q --no-proxy --no-check-certificate https://sys-p0.bj.bcebos.com/prec/prec_delta' + self.suffix os.system(cmd) with open('prec_delta' + self.suffix) as delta: for ut in delta: -- GitLab