diff --git a/t/021_misc_1.pl b/t/021_misc_1.pl index 18438bc..27cd8e3 100644 --- a/t/021_misc_1.pl +++ b/t/021_misc_1.pl @@ -37,6 +37,8 @@ ok($rt_value == 1, "Start Server"); my ($cmdret, $stdout, $stderr) = $node->psql('postgres', 'CREATE EXTENSION pg_stat_monitor;', extra_params => ['-a']); ok($cmdret == 0, "CREATE PGSM EXTENSION"); PGSM::append_to_file($stdout); +PGSM::append_to_debug_file($stderr); +PGSM::append_to_debug_file("-------------"); # Run required commands/queries and dump output to out file. diff --git a/t/030_histogram.pl b/t/030_histogram.pl index 8a6390f..838f4f1 100644 --- a/t/030_histogram.pl +++ b/t/030_histogram.pl @@ -140,6 +140,8 @@ PGSM::append_to_debug_file($stdout); ($cmdret, $stdout, $stderr) = $node->psql('postgres', 'CREATE EXTENSION pg_stat_monitor;', extra_params => ['-a']); ok($cmdret == 0, "Create PGSM Extension"); PGSM::append_to_debug_file($stdout); +PGSM::append_to_debug_file($stderr); +PGSM::append_to_debug_file("-------------"); # Following parameters are required for function 'generate_histogram_with_configurations' to generate and test a histogram # with given configuration.