Increase test coverage for worker_spi by ∞%
Alvaro Herrera <alvherre@alvh.no-ip.org>
Increase test coverage for worker_spi by ∞% This test module was not getting invoked, other than at compile time, limiting its usefulness -- and keeping its coverage at 0%. Add a minimal regression test to ensure it runs on make check-world; this makes it 92% covered (line-wise), which seems sufficient. Author: Álvaro Herrera <alvherre@alvh.no-ip.org> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20190529193256.GA17603@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/worker_spi/dynamic.conf | added | +2 −0 |
| src/test/modules/worker_spi/expected/worker_spi.out | added | +50 −0 |
| src/test/modules/worker_spi/Makefile | modified | +8 −0 |
| src/test/modules/worker_spi/sql/worker_spi.sql | added | +35 −0 |
| src/test/modules/worker_spi/worker_spi.c | modified | +11 −1 |
Discussion
- coverage increase for worker_spi 9 messages · 2019-05-29 → 2019-06-02