1

我正在尝试Xamarin 测试云

我可以使用此配置文件在本地设备上运行测试:

** 但是 Xamarin 运行失败并显示以下消息:

背景:# features/app_regression_master_cases/tc_001_card_front_side.feature:4 执行过期(HTTPClient::ConnectTimeoutError)
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib /httpclient/session.rb:799:in new' /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799 : 连接中的块' /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746:in query'initialize'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in

create_socket'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:747:in

connect'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:612:in

/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:164:in do_get_block' /xamarin/workspaces/pipeline20151207-54352 -1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:974: inprotect_keep_alive_disconnected' /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace /local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:969:in request' /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1 /lib/httpclient.rb:713:in 块中的 make_http_request'query'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1191:in

block in do_request'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1082:in

do_request'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:822:in

get'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:59:in

/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:50:in make_http_request' /xamarin/workspaces /pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:29:in http' /Volumes/Data/xamarin/workspaces /pipeline20151207-54352-1a5zuwf/workspace/xtc-sandbox-runtime-lib/xtc/formatter/patches/calabash_ios_patch.rb:182:in relaunch ' /Volumes/Data/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/workspace/features /ios/support/01_launch.rb:31:in `Before' Given App is launch # features/step_definitions/launch_steps.rb:1times'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:50:in

http'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/connection_helpers.rb:11:in

xtc_start_app'
/Volumes/Data/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/workspace/xtc-sandbox-runtime-lib/xtc/formatter/patches/calabash_ios_patch.rb:131:in

这有什么问题?

4

1 回答 1

1

不要在 XTC 上设置任何环境变量。

有关使用一组配置文件进行本地测试并使用另一组配置文件进行 XTC 测试的示例,请参阅iOS 烟雾测试示例

当您提交测试时,请使用--config--profile标志。

于 2015-12-07T12:19:53.390 回答