mirror of https://github.com/milvus-io/milvus.git
Add pytest logs (#6392)
* add pytest logs Signed-off-by: ThreadDao <yufen.zong@zilliz.com> * increase ci time to 45m Signed-off-by: ThreadDao <yufen.zong@zilliz.com>pull/6402/head
parent
da628863bc
commit
5acf569540
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env groovy
|
||||
|
||||
int timeout_minutes = 30
|
||||
int timeout_minutes = 45
|
||||
int delay_minutes = 5
|
||||
int ci_timeout = (timeout_minutes - delay_minutes) * 60
|
||||
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
[pytest]
|
||||
|
||||
addopts = --host 10.98.0.7 --html=/tmp/ci_logs/report.html --self-contained-html
|
||||
addopts = --host 10.98.0.7 --html=/tmp/ci_logs/report.html --self-contained-html -v
|
||||
# -;addopts = --host 172.28.255.155 --html=/tmp/report.html
|
||||
# python3 -W ignore -m pytest
|
||||
# python3 -W ignore -m pytest
|
||||
|
||||
log_format = [%(asctime)s - %(levelname)s - %(name)s]: %(message)s (%(filename)s:%(lineno)s)
|
||||
log_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
filterwarnings =
|
||||
ignore::DeprecationWarning
|
|
@ -34,7 +34,7 @@ class TestLog:
|
|||
ch = logging.StreamHandler(sys.stdout)
|
||||
ch.setLevel(logging.DEBUG)
|
||||
ch.setFormatter(formatter)
|
||||
self.log.addHandler(ch)
|
||||
# self.log.addHandler(ch)
|
||||
|
||||
except Exception as e:
|
||||
print("Can not use %s or %s or %s to log. error : %s" % (log_debug, log_file, log_err, str(e)))
|
||||
|
|
Loading…
Reference in New Issue