diff --git a/spec/support/shared/examples/msf/module_manager/cache.rb b/spec/support/shared/examples/msf/module_manager/cache.rb index 1046ed35ae25..bc6e09ab06a3 100644 --- a/spec/support/shared/examples/msf/module_manager/cache.rb +++ b/spec/support/shared/examples/msf/module_manager/cache.rb @@ -410,7 +410,7 @@ def module_info_by_path_from_database! module_info_by_path_from_database! end - it { expect(subject[:modification_time]).to be_within(1.second).of(pathname_modification_time) } + it { expect(subject[:modification_time]).to be_within(10.seconds).of(pathname_modification_time) } it { expect(subject[:parent_path]).to eq(parent_path) } it { expect(subject[:reference_name]).to eq(reference_name) } it { expect(subject[:type]).to eq(type) }