Reset log path (#5648)

* [skip ci] Update test code

Signed-off-by: wangting0128 <ting.wang@zilliz.com>

* [skip ci] Update code for test log

Signed-off-by: wangting0128 <ting.wang@zilliz.com>

* [skip ci] Remove log path

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/5650/head
紫晴 2021-06-07 15:34:51 +08:00 committed by GitHub
parent 06edb1d67f
commit 223b2189a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class TestInfo:
log_path = os.environ[var]
return str(log_path)
except Exception as e:
log_path = "/tmp/log"
log_path = "/tmp/ci_logs"
print("Failed to get environment variables : %s, Use default path : %s" % (str(e), log_path))
return log_path

View File

@ -1,5 +1,5 @@
[pytest]
addopts = --host 192.168.1.239 --html=/Users/wt/Desktop/report.html --self-contained-html
addopts = --host 192.168.1.239 --html=/tmp/ci_logs/report.html --self-contained-html
-;addopts = --host 172.28.255.155 --html=/tmp/report.html
# python3 -W ignore -m pytest