Changeset: 5eaaff8e1887 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5eaaff8e1887
Modified Files:
        sql/test/BugTracker-2014/Tests/acidity-fail.Bug-3635.py
Branch: Oct2014
Log Message:

Simplify test: we don't need to kill, normal exit also "works".


diffs (23 lines):

diff --git a/sql/test/BugTracker-2014/Tests/acidity-fail.Bug-3635.py 
b/sql/test/BugTracker-2014/Tests/acidity-fail.Bug-3635.py
--- a/sql/test/BugTracker-2014/Tests/acidity-fail.Bug-3635.py
+++ b/sql/test/BugTracker-2014/Tests/acidity-fail.Bug-3635.py
@@ -21,7 +21,7 @@ def query(conn, sql):
     return r
 
 # no timeout since we need to kill mserver5, not the inbetween Mtimeout
-s = process.server(stdin = process.PIPE, stdout = process.PIPE, stderr = 
process.PIPE, notimeout = True)
+s = process.server(stdin = process.PIPE, stdout = process.PIPE, stderr = 
process.PIPE)
 
 # boring setup and schema creation stuff:
 c1 = connect(True)
@@ -55,9 +55,8 @@ c1.execute('insert into bar select * fro
 time.sleep(31)
 print query(c1, 'select * from foo')
 
-os.kill(s.pid, 9)
+s.communicate()
 
-time.sleep(10)
 t = process.server(stdin = process.PIPE, stdout = process.PIPE, stderr = 
process.PIPE)
 
 c3 = connect(True)
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to