Browse Source

Maintenance: Increased encoding detection timeout because of ZombieLoad CPU limitating mitigations.

Thorsten Eckel 5 years ago
parent
commit
1fd0e82254
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/lib/core_ext/string_spec.rb

+ 1 - 1
spec/lib/core_ext/string_spec.rb

@@ -1925,7 +1925,7 @@ RSpec.describe String do
         let(:input_encoding) { Encoding::ISO_8859_1 }
 
         it 'detects the input encoding' do
-          Timeout.timeout(12) do
+          Timeout.timeout(18) do
             expect(subject.utf8_encode(from: 'utf-8')).to eq(original_string)
           end
         end