mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-30 15:37:22 +02:00
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
This commit is contained in:
parent
ba815f00a0
commit
0455b7ccce
@ -23,7 +23,6 @@ sub pgbench
|
|||||||
local $Test::Builder::Level = $Test::Builder::Level + 1;
|
local $Test::Builder::Level = $Test::Builder::Level + 1;
|
||||||
|
|
||||||
my ($opts, $stat, $out, $err, $name) = @_;
|
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) ],
|
command_checks_all([ 'pgbench', split(/\s+/, $opts) ],
|
||||||
$stat, $out, $err, $name);
|
$stat, $out, $err, $name);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user