mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-01-28 02:00:29 +08:00
Use full_output to avoid to die (PT-1967) (#494)
This commit is contained in:
@@ -518,7 +518,7 @@ $sb->load_file('master', "$sample/bug-1340728_cleanup.sql");
|
||||
# If this test fails it might lead to "segmentation fault" or "out of memory"
|
||||
# #############################################################################
|
||||
|
||||
$output = output(
|
||||
($output, $exit_status) = full_output(
|
||||
sub { pt_online_schema_change::main(@args, "$master_dsn,D=sakila,t=actor",
|
||||
'--execute',
|
||||
'--alter-foreign-keys-method=drop_swap',
|
||||
@@ -526,7 +526,6 @@ $output = output(
|
||||
'--nocheck-plan',
|
||||
),
|
||||
},
|
||||
stderr => 1,
|
||||
);
|
||||
|
||||
like(
|
||||
|
||||
Reference in New Issue
Block a user