Commit 863e9196 authored by Jérome Perrin's avatar Jérome Perrin

software/erp5/test/benchmarks: fix running pt-query-digest on py3

parent 12c244e5
...@@ -327,7 +327,7 @@ class TestOrderBuildPackingListSimulation( ...@@ -327,7 +327,7 @@ class TestOrderBuildPackingListSimulation(
{ {
'pt-query-digest': 'pt-query-digest':
subprocess.check_output( subprocess.check_output(
(pt_query_digest, mariadb_slowquery_log), text=True), (pt_query_digest, mariadb_slowquery_log), text=True, errors='surrogateescape'),
'data-size': mariadb_data_size, 'data-size': mariadb_data_size,
'binlog-data-size': mariadb_binlog_data_size, 'binlog-data-size': mariadb_binlog_data_size,
}) })
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment