Changeset: 1451e9517701 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1451e9517701 Modified Files: sql/backends/monet5/Tests/cfunction01.sql Branch: trails Log Message:
Improved test case for continuous function diffs (27 lines): diff --git a/sql/backends/monet5/Tests/cfunction01.sql b/sql/backends/monet5/Tests/cfunction01.sql --- a/sql/backends/monet5/Tests/cfunction01.sql +++ b/sql/backends/monet5/Tests/cfunction01.sql @@ -19,14 +19,22 @@ select * from functions where name ='agg select aggr01(); -- causes error start continuous function aggr01(); +call cquery.wait(1000); #wait to be started + +select aggr01(); #should return 0 +pause continuous function aggr01(); insert into ftmp values(1),(1); +resume continuous function aggr01(); + +call cquery.wait(1000); #wait for processing select aggr01(); #should return 2 +pause continuous function aggr01(); insert into ftmp values(2),(2); insert into ftmp values(3),(3); -call cquery.wait(1000); +resume continuous function aggr01(); select aggr01(); #should return 6 call cquery.wait(1000); _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list