Changeset: 0458139ac3f7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/0458139ac3f7 Modified Files: clients/mapilib/Tests/tlssecurity.py Branch: default Log Message:
Try to figure out why test 'tlssecurity' takes so long on Windows Enable DEBUG on Windows only, with timestamps. The stderr output will make the test fail but that's not a big deal on the default branch. diffs (25 lines): diff --git a/clients/mapilib/Tests/tlssecurity.py b/clients/mapilib/Tests/tlssecurity.py --- a/clients/mapilib/Tests/tlssecurity.py +++ b/clients/mapilib/Tests/tlssecurity.py @@ -17,13 +17,16 @@ import sys from MonetDBtesting.tlstester import TLSTesterClient -level = logging.WARNING -# if sys.platform == 'win32': -# level=logging.DEBUG +log_level = logging.WARNING +log_format = '%(levelname)s:t=%(relativeCreated)d:%(name)s:%(message)s'# if sys.platform == 'win32': + +if sys.platform == 'win32': + level=logging.DEBUG if '-v' in sys.argv: - level = logging.DEBUG + log_level = logging.DEBUG #level = logging.DEBUG -logging.basicConfig(level=level) + +logging.basicConfig(level=log_level,format=log_format) # A tmpdir to write certificates to tgtdir = os.environ['TSTTRGDIR'] _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org