mirror of https://github.com/milvus-io/milvus.git
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
parent
06edb1d67f
commit
223b2189a6
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue