Fix "docker port" usage.
[arvados.git] / apps / workbench / test / test_helper.rb
index 69cf43b1a2fd52c04b89edebbded03d8493b1323..84728b8c6882082bbaf015edf2dcb2450674d61f 100644 (file)
@@ -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