Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5675f3c

Browse files
knizhnikkelvich
authored andcommitted
Restore dumping logs for trvis tests
1 parent 0bf1849 commit 5675f3c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Cluster.pm

+11-11
Original file line numberDiff line numberDiff line change
@@ -209,17 +209,17 @@ sub stop
209209
my $nodes = $self->{nodes};
210210
$mode = 'fast' unless defined $mode;
211211

212-
#diag("Dumping logs:");
213-
#foreach my $node (@$nodes) {
214-
#diag("##################################################################");
215-
#diag($node->{_logfile});
216-
#diag("##################################################################");
217-
#my $filename = $node->{_logfile};
218-
#open my $fh, '<', $filename or die "error opening $filename: $!";
219-
#my $data = do { local $/; <$fh> };
220-
#diag($data);
221-
#diag("##################################################################\n\n");
222-
#}
212+
diag("Dumping logs:");
213+
foreach my $node (@$nodes) {
214+
diag("##################################################################");
215+
diag($node->{_logfile});
216+
diag("##################################################################");
217+
my $filename = $node->{_logfile};
218+
open my $fh, '<', $filename or die "error opening $filename: $!";
219+
my $data = do { local $/; <$fh> };
220+
diag($data);
221+
diag("##################################################################\n\n");
222+
}
223223

224224
my $ok = 1;
225225
diag("stopping cluster ${mode}ly");

0 commit comments

Comments
 (0)