summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2014-09-26 15:56:58 +0200
committergebele <gebele@in-silico.ch>2014-09-26 15:56:58 +0200
commitc3a75906b6490b27f142e40f3c40627596389db7 (patch)
tree0f5b9b275dfad757dd60a9dd6d55620975aa3f92
parent80a2ab981fad314d76f66f14e3644c6a5b170a55 (diff)
add wait time to ensure ftp files linked
-rw-r--r--test/toxbank-investigation-rest.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/toxbank-investigation-rest.rb b/test/toxbank-investigation-rest.rb
index 155f2ac..634934c 100644
--- a/test/toxbank-investigation-rest.rb
+++ b/test/toxbank-investigation-rest.rb
@@ -362,6 +362,7 @@ class TBInvestigationREST < MiniTest::Test
# check that linked FTP file is listed in uri-list
def test_06a_check_ftpfiles
+ sleep 60# wait time to complete file link in service
result = OpenTox::RestClientWrapper.get("#{@@uri}", {}, {:accept => "text/uri-list", :subjectid => $pi[:subjectid]}).split("\n")
assert_match "#{@@uri}/files/JIC37_Ethanol_0.07_Internal_1_3.txt", result.to_s
end