Re: Failure in commit_ts tap tests
Alvaro Herrera <alvherre@2ndquadrant.com>
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Pavan Deolasee <pavan.deolasee@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-01-20T18:27:02Z
Lists: pgsql-hackers
Pavan Deolasee wrote: > Argument "" isn't numeric in numeric ne (!=) at t/004_restart.pl line 57. > Argument "Fri Jan 20 07:59:52.322811 2017 PST" isn't numeric in numeric ne (!=) at t/004_restart.pl line 57. > not ok 8 - commit timestamp recorded > > Changing the operator to "ne" works for me (patch attached). But I wonder > if this is something specific to my system? Am I using a wrong/stale > version on OSX Sierra? I'm surprised nobody reported this problem earlier. Hmm. The test works fine for me, even if it should be obvious that the use of the != operator is wrong. I don't understand why it causes a failure only for you. > $ perl -v > This is perl 5, version 18, subversion 2 (v5.18.2) built for > darwin-thread-multi-2level > (with 2 registered patches, see perl -V for more detail) Mine says: This is perl 5, version 20, subversion 2 (v5.20.2) built for x86_64-linux-gnu-thread-multi (with 92 registered patches, see perl -V for more detail) -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Remove test for COMMENT ON DATABASE
- 7fb29ea9c626 9.5.6 landed
- 56b42a334167 9.6.2 landed
- 331f8c311b7b 10.0 landed
-
tests: Use the right Perl operator
- a600ee9e3fcc 10.0 landed