Changeset: c5ad2c099f0a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c5ad2c099f0a
Modified Files:
sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.py
Branch: Aug2024
Log Message:
Extend script to allow JDBC_API_Tester to be started with new second argument
'-skipMALoutput'.
By default it is not set. It can be set (adapt script to uncomment the setting)
for development branches where the MAL output is different than expected by the
JDBC_API_Tester test: Test_PlanExplainTraceDebugCmds(boolean).
diffs (15 lines):
diff --git a/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.py
b/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.py
--- a/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.py
+++ b/sql/jdbc/tests/Tests/JDBC_API_Tester.SQL.py
@@ -12,7 +12,10 @@ JDBC_EXTRA_ARGS=os.getenv('JDBC_EXTRA_AR
URL=f"jdbc:monetdb://{HOST}:{MAPIPORT}/{TSTDB}?user={USER}&password={PASSWORD}{JDBC_EXTRA_ARGS}"
-cmd = ['java', 'JDBC_API_Tester', URL]
+JDBC_API_TESTER_ARGS=''
+# JDBC_API_TESTER_ARGS='-skipMALoutput'
+
+cmd = ['java', 'JDBC_API_Tester', URL, JDBC_API_TESTER_ARGS]
try:
p = run(cmd, stdout=PIPE, stderr=PIPE, check=True, encoding='utf-8')
sys.stderr.write(p.stdout)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]