【发布时间】:2017-07-26 02:39:43
【问题描述】:
Karma 在 Team City 下运行时无法启动 IE。我可以登录服务器并从命令行运行测试,但 IE 在 Team City 中总是失败:
[Step 6/6] INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
[14:45:09][Step 6/6] INFO [launcher]: Starting browser Chrome
[14:45:09][Step 6/6] INFO [launcher]: Starting browser Firefox
[14:45:09][Step 6/6] INFO [launcher]: Starting browser IE
[14:45:25][Step 6/6] INFO [Firefox 38.0.0 (Windows 7 0.0.0)]: Connected on socket KeIupP7qx6Dn9ghM0KsX with id 75681035
[14:45:32][Step 6/6] INFO [Chrome 43.0.2357 (Windows 7 0.0.0)]: Connected on socket DORZdoNLQzPHx4ZT0KsY with id 61077412
[14:45:37][Step 6/6] INFO [IE 11.0.0 (Windows 7 0.0.0)]: Connected on socket 1p4cEWOQp6eKrUdO0KsZ with id 27572902
[14:45:47][Step 6/6] WARN [IE 11.0.0 (Windows 7 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.
[14:45:47][Step 6/6] Chrome 43.0.2357 (Windows 7 0.0.0)
[14:45:47][Step 6/6] Firefox 38.0.0 (Windows 7 0.0.0)
[14:45:48][Step 6/6] Process exited with code 1
我尝试将 browserNoActivityTimeout 增加到 100000,但这没有帮助。
我们在 Windows 2008 R2 上运行 Team City 8.1.2。
任何建议将不胜感激。
【问题讨论】:
-
运行代理的进程很可能与您登录的帐户不同。如果您可以在该帐户下运行该构建代理,那么您将能够比较它们。该过程是否需要交互式登录帐户?
标签: internet-explorer teamcity karma-runner