My name is Soren Stoutner. I have started maintaining the Debian minimagick package as part of my work to better support Redmine in Debian. In updating to the latest version, I noticed an error running the timeout test.
|
it "terminate long running commands if timeout is set" do |
|
expect { subject.run(%W[convert #{image_path} -resize 10000x10000 -blur 0x20 null:], timeout: 1) } |
|
.to raise_error(MiniMagick::TimeoutError) |
|
end |
On my build setup (Ryzen 8700G), the timeout never fires. I tried adjusting the image size to be 100000 x 100000, but received an error that the size was beyond the maximum. I tried adjusting the timeout down to as low as 0.001, but the timeout didn't fire (I am not sure if the syntax processes a value below 1).
Currently, I am just patching out the test. But I would like to see if there is some way I can adjust my build environment to correctly test for this.
My name is Soren Stoutner. I have started maintaining the Debian minimagick package as part of my work to better support Redmine in Debian. In updating to the latest version, I noticed an error running the timeout test.
minimagick/spec/lib/mini_magick/shell_spec.rb
Lines 43 to 46 in 21b48d9
On my build setup (Ryzen 8700G), the timeout never fires. I tried adjusting the image size to be 100000 x 100000, but received an error that the size was beyond the maximum. I tried adjusting the timeout down to as low as 0.001, but the timeout didn't fire (I am not sure if the syntax processes a value below 1).
Currently, I am just patching out the test. But I would like to see if there is some way I can adjust my build environment to correctly test for this.