attached TAP test is hanging

From: Mahendra Singh Thalor <mahi6run(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: attached TAP test is hanging
Date: 2020-05-15 03:36:55
Message-ID: CAKYtNArYLC2XvRTbXsYfhFCuWw=NMOM-BH-pGZ8S=hJEYk+sbA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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]: *
https://www.postgresql.org/message-id/CAFiTN-uQeYHgyia7%2BXPhTDAwe7NBeXzt2cT2N6gBghHXA%3DXT9Q%40mail.gmail.com
--
Thanks and Regards
Mahendra Singh Thalor
EnterpriseDB: http://www.enterprisedb.com

Attachment Content-Type Size
Patch-for-tap-test-of-012_stream_subxact_abort.patch application/octet-stream 3.3 KB

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kyotaro Horiguchi 2020-05-15 04:22:40 Re: Multi-parent inherited table with mixed storage options cannot be restored
Previous Message Amit Langote 2020-05-15 02:54:09 Re: Multi-parent inherited table with mixed storage options cannot be restored