aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-06-26 12:40:03 +0900
committerMichael Paquier <michael@paquier.xyz>2021-06-26 12:40:03 +0900
commit0455b7ccce3cba6a85a85aa6524c48d58eb1c93e (patch)
treea0aeb78d5feb1fa52833356432c63601ced54ad1 /src
parentba815f00a0ce4c9b7696be6d841733b1b481a1f8 (diff)
downloadpostgresql-0455b7ccce3cba6a85a85aa6524c48d58eb1c93e.tar.gz
postgresql-0455b7ccce3cba6a85a85aa6524c48d58eb1c93e.zip
Remove some useless logs from the TAP tests of pgbench
002_pgbench_no_server was printing some array pointers instead of the actual contents of those arrays for the expected outputs of stdout and stderr for a tested command. This does not add any new information that can help with debugging as the test names allow to track failure locations, if any. This commit simply removes those logs as the rest of the printed information is redundant with command_checks_all(). Per discussion with Andrew Dunstan and Álvaro Herrera. Discussion: https://postgr.es/m/YNXNFaG7IgkzZanD@paquier.xyz Backpatch-through: 11
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/t/002_pgbench_no_server.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/pgbench/t/002_pgbench_no_server.pl b/src/bin/pgbench/t/002_pgbench_no_server.pl
index e38c7d77d1c..86fafe44e06 100644
--- a/src/bin/pgbench/t/002_pgbench_no_server.pl
+++ b/src/bin/pgbench/t/002_pgbench_no_server.pl
@@ -23,7 +23,6 @@ sub pgbench
local $Test::Builder::Level = $Test::Builder::Level + 1;
my ($opts, $stat, $out, $err, $name) = @_;
- print STDERR "opts=$opts, stat=$stat, out=$out, err=$err, name=$name";
command_checks_all([ 'pgbench', split(/\s+/, $opts) ],
$stat, $out, $err, $name);
return;