lib/calabash-android/operations.rb in calabash-android-0.6.0.pre4 vs lib/calabash-android/operations.rb in calabash-android-0.6.0.prelatestcrosswalk
- old
+ new
@@ -654,15 +654,15 @@
log "Starting test server using:"
log cmd
raise "Could not execute command to start test server" unless system("#{cmd} 2>&1")
- Retriable.retriable :tries => 10, :interval => 1 do
+ Retriable.retriable :tries => 100, :interval => 0.1 do
raise "App did not start" unless app_running?
end
begin
- Retriable.retriable :tries => 10, :interval => 3 do
+ Retriable.retriable :tries => 300, :interval => 0.1 do
log "Checking if instrumentation backend is ready"
log "Is app running? #{app_running?}"
ready = http("/ready", {}, {:read_timeout => 1})
if ready != "true"