Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Unit testing Grunt测试-在200000毫秒内未捕获39mChrome_Unit Testing_Tfs_Gruntjs_Karma Runner - Fatal编程技术网

Unit testing Grunt测试-在200000毫秒内未捕获39mChrome

Unit testing Grunt测试-在200000毫秒内未捕获39mChrome,unit-testing,tfs,gruntjs,karma-runner,Unit Testing,Tfs,Gruntjs,Karma Runner,我正在尝试在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

我正在尝试在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

有人能告诉我为什么这里会出现错误吗?

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