From 509d93c1be5ae74eb40abde563eaeef60ab5074d Mon Sep 17 00:00:00 2001 From: Jason Frey Date: Fri, 24 May 2024 17:31:33 -0400 Subject: [PATCH] Fail providers on seeding failure --- spec/lib/evm_database_spec.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spec/lib/evm_database_spec.rb b/spec/lib/evm_database_spec.rb index 146a18a11e4..0e5e5bc87a5 100644 --- a/spec/lib/evm_database_spec.rb +++ b/spec/lib/evm_database_spec.rb @@ -43,11 +43,9 @@ expect { described_class.seed(["VmOrTemplate"]) }.to raise_error(ArgumentError, /do not respond to seed/) end - # this spec takes about 30 seconds but is the only check that db:seed won't fail - it "doesn't fail" do - expect do - described_class.seed - end.not_to raise_error + # this spec takes about 20 seconds but is the only check that db:seed won't fail + it "doesn't fail", :providers_common => true do + described_class.seed end end