Changeset: 1f81f63599f6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1f81f63599f6
Modified Files:
monetdb5/modules/mal/mal_mapi.c
testing/Mtest.py.in
Branch: Sep2022
Log Message:
Get Mtest.py --single-in-memory working again.
diffs (32 lines):
diff --git a/monetdb5/modules/mal/mal_mapi.c b/monetdb5/modules/mal/mal_mapi.c
--- a/monetdb5/modules/mal/mal_mapi.c
+++ b/monetdb5/modules/mal/mal_mapi.c
@@ -838,6 +838,8 @@ SERVERlisten(int port, const char *usock
GDKfree(usockfilenew);
#endif
+ fflush(stdout);
+
return MAL_SUCCEED;
}
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2639,13 +2639,14 @@ class ServerClass:
res = mapiportre.search(connurl)
port = res.group('port')
else:
- while True:
+ loadedseen = False
+ while port is None or not loadedseen:
line = proc.stdout.readline()
if not line:
break
self.outfile.write(line)
if 'MonetDB/SQL module loaded' in line:
- break
+ loadedseen = True
res = mapiportre.search(line)
if res is not None:
port = res.group('port')
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]