Changeset: 4657a36f84b9 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4657a36f84b9
Modified Files:
        testing/Mtest.py.in
        testing/Mz.py.in
Branch: Jan2022
Log Message:

Use unix domain sockets where available.


diffs (28 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2831,8 +2831,8 @@ def DoIt(env, SERVER, CALL, TST, EXT, Te
                     try:
                         sql.connect(username=user or 'monetdb',
                                     password=passwd or 'monetdb',
-                                    hostname='localhost',
-                                    port=int(env['MAPIPORT']),
+                                    hostname=HOST,
+                                    port=int(pSrvr.port),
                                     database=TSTDB,
                                     language=lang,
                                     timeout=TIMEOUT)
diff --git a/testing/Mz.py.in b/testing/Mz.py.in
--- a/testing/Mz.py.in
+++ b/testing/Mz.py.in
@@ -1669,8 +1669,8 @@ def DoIt(env, SERVER, CALL, TST, EXT, Te
                     try:
                         sql.connect(username=user or 'monetdb',
                                     password=passwd or 'monetdb',
-                                    hostname='localhost',
-                                    port=int(env['MAPIPORT']),
+                                    hostname=HOST,
+                                    port=int(pSrvr.port),
                                     database=TSTDB,
                                     language=lang,
                                     timeout=TIMEOUT)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to