From 80c1f1818d1e204b3181b72e7b70633f0ca305e0 Mon Sep 17 00:00:00 2001 From: Artem Gavrilov Date: Wed, 19 Nov 2025 20:43:00 +0200 Subject: [PATCH] Debug --- t/021_misc_1.pl | 2 ++ t/030_histogram.pl | 2 ++ 2 files changed, 4 insertions(+) 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.