fastlane/lib/fastlane/actions/appium.rb in fastlane-2.74.1 vs fastlane/lib/fastlane/actions/appium.rb in fastlane-2.75.0.beta.20180109010003

- old
+ new

@@ -30,11 +30,11 @@ status = RSpec::Core::Runner.run(rspec_args).to_i if status != 0 UI.user_error!("Failed to run Appium spec. status code: #{status}") end ensure - Actions.sh "kill #{appium_pid}" if appium_pid + Actions.sh("kill #{appium_pid}") if appium_pid end def self.invoke_appium_server(params) appium = detect_appium(params) fork do @@ -70,10 +70,10 @@ break if `lsof -i:#{params[:port]}`.to_s.length != 0 if count * 5 > INVOKE_TIMEOUT UI.user_error!("Invoke Appium server timed out") end - sleep 5 + sleep(5) end end def self.configure_rspec(params) RSpec.configure do |c|