attached TAP test is hanging
Hi All,
While testing logical decoding patch[1], observed one hang to TAP test.
# SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN
('r', 's');
# expecting this output:
# t
# last actual query output:
# f
# with stderr:
# Looks like your test exited with 29 before it could output anything.
t/012_stream_subxact_abort.pl .. Dubious, test returned 29 (wstat 7424,
0x1d00)
Failed 2/2 subtests
Test Summary Report
-------------------
t/012_stream_subxact_abort.pl (Wstat: 7424 Tests: 0 Failed: 0)
Non-zero exit status: 29
Parse errors: Bad plan. You planned 2 tests but ran 0.
Files=1, Tests=0, 262 wallclock secs ( 0.01 usr 0.00 sys + 14.79 cusr
12.25 csys = 27.05 CPU)
Result: FAIL
Makefile:21: recipe for target 'check' failed
make: [check] Error 1 (ignored
*Branch: master*
*Steps to reproduce:*
*Step1 : *apply attached patch
*Step2: *configure with "--enable-tap-tests" and do make install
*Step3: *Go to "src/test/subscription" and fire "make check -i"
It looks like a bug.
Please let me know if you need any other details.
*[1]: *
/messages/by-id/CAFiTN-uQeYHgyia7+XPhTDAwe7NBeXzt2cT2N6gBghHXA=XT9Q@mail.gmail.com
--
Thanks and Regards
Mahendra Singh Thalor
EnterpriseDB: http://www.enterprisedb.com
Attachments:
Patch-for-tap-test-of-012_stream_subxact_abort.patchapplication/octet-stream; name=Patch-for-tap-test-of-012_stream_subxact_abort.patchDownload+67-1
On 2020-05-15 05:36, Mahendra Singh Thalor wrote:
While testing logical decoding patch[1], observed one hang to TAP test.
That is a new patch under discussion, not something that is committed
yet. So your feedback will surely be welcome in that thread, but it's
not a bug in PostgreSQL at this time.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services