【问题标题】:Grunt Tests - 39mChrome have not captured in 200000 msGrunt 测试 - 39mChrome 在 200000 毫秒内未捕获
【发布时间】: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


    【解决方案1】:

    您必须运行 TFS 构建服务交互模式才能从中启动 UI。

    【讨论】:

      猜你喜欢
      • 2017-08-31
      • 1970-01-01
      • 1970-01-01
      • 2023-01-28
      • 1970-01-01
      • 2021-12-31
      • 2014-07-13
      • 1970-01-01
      • 2010-10-20
      相关资源
      最近更新 更多