diff --git a/build/ci/jenkins/Jenkinsfile b/build/ci/jenkins/Jenkinsfile index 60b9fdad24..23f666c247 100644 --- a/build/ci/jenkins/Jenkinsfile +++ b/build/ci/jenkins/Jenkinsfile @@ -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 diff --git a/tests20/python_client/pytest.ini b/tests20/python_client/pytest.ini index 11ef822ecf..a77ce13cfe 100644 --- a/tests20/python_client/pytest.ini +++ b/tests20/python_client/pytest.ini @@ -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 \ No newline at end of file +# 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 \ No newline at end of file diff --git a/tests20/python_client/utils/util_log.py b/tests20/python_client/utils/util_log.py index 2ad84877a7..8edb521de6 100644 --- a/tests20/python_client/utils/util_log.py +++ b/tests20/python_client/utils/util_log.py @@ -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)))