Skip to content

Commit

Permalink
t: Fix unhandled log output in 24-worker-jobs.t
Browse files Browse the repository at this point in the history
  • Loading branch information
okurz committed Jun 11, 2024
1 parent fdbe721 commit 4c94cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion t/24-worker-jobs.t
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,8 @@ subtest 'optipng' => sub {
};

subtest 'pngquant' => sub {
is OpenQA::Worker::Job::_optimize_image('foo', {USE_PNGQUANT => 1}), undef, 'pngquant call is "best-effort"';
combined_like { OpenQA::Worker::Job::_optimize_image('foo', {USE_PNGQUANT => 1}) } qr/cannot open foo for reading/,
'pngquant call is "best-effort"';
};

subtest '_read_module_result' => sub {
Expand Down

0 comments on commit 4c94cca

Please sign in to comment.