[ARVADOS] updated: c1481e3977513b599750a6c03518d654229191de
Git user
git at public.curoverse.com
Thu Sep 29 12:13:03 EDT 2016
Summary of changes:
apps/workbench/test/integration/download_test.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via c1481e3977513b599750a6c03518d654229191de (commit)
from 4786aea0e1b0e370a7210a9a404d8a9f83e01595 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit c1481e3977513b599750a6c03518d654229191de
Author: Tom Clegg <tom at curoverse.com>
Date: Thu Sep 29 12:11:45 2016 -0400
Increase timeout and allow early success on download test. No issue #
diff --git a/apps/workbench/test/integration/download_test.rb b/apps/workbench/test/integration/download_test.rb
index 9359475..e980b2f 100644
--- a/apps/workbench/test/integration/download_test.rb
+++ b/apps/workbench/test/integration/download_test.rb
@@ -65,13 +65,13 @@ class DownloadTest < ActionDispatch::IntegrationTest
within "#collection_files" do
find('[title~=Download]').click
end
- wait_for_download 'w a z', 'w a z', timeout: 6
+ wait_for_download 'w a z', 'w a z', timeout: 20
end
def wait_for_download filename, expect_data, timeout: 3
data = nil
tries = 0
- while tries < timeout*10
+ while tries < timeout*10 && data != expect_data
sleep 0.1
tries += 1
data = File.read(DownloadHelper.path.join filename) rescue nil
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list