X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/36b3f5c4d415897125a82fc733385ca999436c4e..d3e236828617b778237b7ac9c91c62a25263e5c4:/apps/workbench/test/test_helper.rb diff --git a/apps/workbench/test/test_helper.rb b/apps/workbench/test/test_helper.rb index 69cf43b1a2..84728b8c68 100644 --- a/apps/workbench/test/test_helper.rb +++ b/apps/workbench/test/test_helper.rb @@ -360,8 +360,9 @@ module Minitest raise rescue Exception => e n += 1 - raise if n > 2 + raise if n > 2 || e.is_a?(Skip) STDERR.puts "Test failed, retrying (##{n})" + ActiveSupport::TestCase.reset_api_fixtures_now retry end rescue *PASSTHROUGH_EXCEPTIONS