Changeset: bbfdd78d5779 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bbfdd78d5779
Modified Files:
        sql/test/BugTracker-2015/Tests/acidity2-fail.Bug-3635.SQL.py
        sql/test/BugTracker/Tests/explain.SF-1739353.test
        sql/test/Tests/hot_snapshot.py
Branch: nospare
Log Message:

approve some tests, now the behavour is slightly different but not wrong..


diffs (51 lines):

diff --git a/sql/test/BugTracker-2015/Tests/acidity2-fail.Bug-3635.SQL.py 
b/sql/test/BugTracker-2015/Tests/acidity2-fail.Bug-3635.SQL.py
--- a/sql/test/BugTracker-2015/Tests/acidity2-fail.Bug-3635.SQL.py
+++ b/sql/test/BugTracker-2015/Tests/acidity2-fail.Bug-3635.SQL.py
@@ -32,7 +32,8 @@ run(c1, 'create view bar as select * fro
 run(c2, 'create table baz (a int);drop table baz')
 try:
     run(c1, 'commit')
-    print("shouldn't get here")
+    #print("shouldn't get here")
+    # perfectly fine changing independent parts of the schema
 except pymonetdb.IntegrityError:
     pass
 
diff --git a/sql/test/BugTracker/Tests/explain.SF-1739353.test 
b/sql/test/BugTracker/Tests/explain.SF-1739353.test
--- a/sql/test/BugTracker/Tests/explain.SF-1739353.test
+++ b/sql/test/BugTracker/Tests/explain.SF-1739353.test
@@ -13,7 +13,7 @@ 1
 sql.mvc
 1
 sql.bind
-7
+9
 sql.tid
 2
 algebra.thetaselect
@@ -21,9 +21,7 @@ 3
 sql.subdelta
 1
 sql.projectdelta
-1
-algebra.projection
-1
+2
 bat.append
 2
 bat.pack
diff --git a/sql/test/Tests/hot_snapshot.py b/sql/test/Tests/hot_snapshot.py
--- a/sql/test/Tests/hot_snapshot.py
+++ b/sql/test/Tests/hot_snapshot.py
@@ -71,7 +71,10 @@ def test_snapshot(z_extension, expected_
                 autocommit=False
             )
             cur2 = conn2.cursor()
-            cur2.execute("insert into foo values ('uncommitted2')")
+            try:
+                cur2.execute("insert into foo values ('uncommitted2')")
+            except:
+                pass
 
             # then conn1 creates the snapshot
             cur1.execute("call sys.hot_snapshot(%(tarname)s)", 
dict(tarname=tarname))
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to