Skip to content

Commit 34929db

Browse files
committed
exit the worker at the end of the last test so gcov counters are flushed
1 parent 2189ecd commit 34929db

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/test_worker_behavior.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,3 +677,7 @@ def test_worker_idles_when_net_schema_exists_without_extension(sess, autocommit_
677677

678678
sess.execute(text("drop schema net;"))
679679
sess.commit()
680+
681+
# exit the worker so it flushes its gcov counters; this is the last test of the
682+
# suite and the immediate shutdown at the end would lose its coverage data
683+
autocommit_sess.execute(text("select kill_worker();"))

0 commit comments

Comments
 (0)