Changeset: 277db28836fe for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/277db28836fe
Modified Files:
        sql/test/miscellaneous/Tests/unlogged.py
Branch: Sep2022
Log Message:

Spec the possible outputs in unlogged table test.


diffs (13 lines):

diff --git a/sql/test/miscellaneous/Tests/unlogged.py 
b/sql/test/miscellaneous/Tests/unlogged.py
--- a/sql/test/miscellaneous/Tests/unlogged.py
+++ b/sql/test/miscellaneous/Tests/unlogged.py
@@ -88,7 +88,7 @@ with tempfile.TemporaryDirectory() as fa
 
             node1_cur.execute("SELECT i FROM foo ORDER BY i")
             res = node1_cur.fetchall()
-            if res != [(10,), (20,)]:
-                sys.stderr.write(f"[(10), (20)] expected, {res} received")
+            if res not in ([(10,), (20,)], [(20,), (50,)]):
+                sys.stderr.write(f"[(10,), (20,)] or [(20,), (50,)] expected, 
{res} received")
             node1_cur.close()
             node1_conn.close()
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to