summaryrefslogtreecommitdiff
path: root/tests/white-box/webapp.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-02-03 12:17:35 -0800
committerelijah <elijah@riseup.net>2015-02-03 12:17:35 -0800
commitaab8376aa98f9e2acaa412aebadff64c458cfaa1 (patch)
tree0af069ff41530f223d182bc81b1d091c1d534d30 /tests/white-box/webapp.rb
parent85e539db630b9b7a775bd5e17a81d0764a502908 (diff)
increase the sleep time for soledad test
Diffstat (limited to 'tests/white-box/webapp.rb')
-rw-r--r--tests/white-box/webapp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/white-box/webapp.rb b/tests/white-box/webapp.rb
index a0d64eea..1e78c8a5 100644
--- a/tests/white-box/webapp.rb
+++ b/tests/white-box/webapp.rb
@@ -101,14 +101,14 @@ class Webapp < LeapTest
def assert_user_db_exists(user)
last_body, last_response, last_error = nil
3.times do
- sleep 0.1
+ sleep 0.2
get(couchdb_url("/user-#{user.id}/_design/docs")) do |body, response, error|
last_body, last_response, last_error = body, response, error
if response.code.to_i == 200
return
end
end
- sleep 0.2
+ sleep 0.5
end
assert false, "Could not find user db for test user #{user.username}\nuuid=#{user.id}\nHTTP #{last_response.code} #{last_error} #{last_body}"
end