Changeset: c49ab073c042 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c49ab073c042
Modified Files:
tools/merovingian/client/Tests/monetdbd.py
Branch: default
Log Message:
When things go wrong, dump merovingian.log file.
So that there is some hope in figuring out what went wrong.
diffs (13 lines):
diff --git a/tools/merovingian/client/Tests/monetdbd.py
b/tools/merovingian/client/Tests/monetdbd.py
--- a/tools/merovingian/client/Tests/monetdbd.py
+++ b/tools/merovingian/client/Tests/monetdbd.py
@@ -155,6 +155,9 @@ class MonetDBD:
self.runner.print()
self.runner.print('ABORT ABORT exception occurred, stopping
all databases')
self.runner.print()
+ logfile = self.run_monetdbd('get', 'logfile', output=True)
+
self.runner.print(open(logfile.split('\n')[1][7:].strip()).read())
+ self.runner.print()
self.run_monetdb('stop', '-a')
self.proc.terminate()
if exc_type == None:
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]