【发布时间】:2014-05-14 04:00:21
【问题描述】:
我正在尝试在 TFS 构建服务器中运行 Grunt 测试。当我手动使用命令提示符运行 Grunt 测试时,测试会成功。但是,当我尝试使用 invoke-process 步骤运行 Grunt 测试时,Grunt 测试失败并且我收到以下错误:
[4mRunning "karma:unit" (karma) task[24m
[32mINFO [launcher]: [39mStarting browser Chrome
[33mWARN [launcher]: [39mChrome have not captured in 200000 ms, killing.
[32mINFO [launcher]: [39mTrying to start Chrome again (1/2).
[33mWARN [launcher]: [39mChrome have not captured in 200000 ms, killing.
[32mINFO [launcher]: [39mTrying to start Chrome again (2/2).
[33mWARN [launcher]: [39mChrome have not captured in 200000 ms, killing.
[31mERROR [launcher]: [39mChrome failed 2 times (timeout). Giving up.
[33mWarning: Task "karma:unit" failed. Use --force to continue.[39m
[31mAborted due to warnings.
Execution Time (2014-05-13 23:25:47 UTC)
karma:unit 600.7s ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 100%
Total 602.9s
谁能告诉我为什么我在这里遇到错误?
【问题讨论】:
标签: unit-testing tfs gruntjs karma-runner