Changeset: 4ffea2623bea for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4ffea2623bea
Modified Files:
        sql/test/BugTracker-2021/Tests/serializable-snapshot.Bug-7200.SQL.py
Branch: default
Log Message:

also print the received values in the err msg


diffs (14 lines):

diff --git 
a/sql/test/BugTracker-2021/Tests/serializable-snapshot.Bug-7200.SQL.py 
b/sql/test/BugTracker-2021/Tests/serializable-snapshot.Bug-7200.SQL.py
--- a/sql/test/BugTracker-2021/Tests/serializable-snapshot.Bug-7200.SQL.py
+++ b/sql/test/BugTracker-2021/Tests/serializable-snapshot.Bug-7200.SQL.py
@@ -34,7 +34,9 @@ thread2.join()
 
 cursor1.execute("SELECT COUNT(*), COUNT(DISTINCT k), SUM(k) from T;")
 if cursor1.fetchall() != [(MAX_ITERATIONS, MAX_ITERATIONS, EXPECTED_SUM)]:
-    sys.stderr.write("[(%d,%d,%d)] expected" % (MAX_ITERATIONS, 
MAX_ITERATIONS, EXPECTED_SUM))
+    sys.stderr.write("[(%d,%d,%d)] expected, [(%d,%d,%d)] received" % 
(MAX_ITERATIONS, MAX_ITERATIONS, EXPECTED_SUM, res[0][0], res[0][1], res[0][2]))
+
+
 cursor1.execute("DROP TABLE T;")
 
 cursor1.close()
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to