karma-runner/karma

karma || karma-chrome-launcher Does Not Respect 'captureTimeout'

Open

#2,116 建立於 2016年5月5日

在 GitHub 查看
 (0 留言) (2 反應) (0 負責人)JavaScript (11,918 star) (1,703 fork)batch import
help wantedneeds: investigation

描述

Expected behavior

If Chrome is taking too long to launch, I am expecting that I can alter 'captureTimeout' to wait longer.

The default is suppose to be 60sec. but, karma retries ~500msecs.

Actual behavior

05 05 2016 19:03:13.421:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/ 05 05 2016 19:03:13.437:INFO [launcher]: Starting browser Chrome w/o security. 05 05 2016 19:03:14.042:ERROR [launcher]: Cannot start Chrome

Just not waiting long enough.

Enviroment Details

Windoze 7; slow box

  • Karma version (output of karma --version): 0,13.22

  • Relevant part of your karma.config.js file

    captureTimeout: 120000,
    retryLimit: 4,
    browsers: ['Chromeage'],
    customLaunchers: {
      Chromeage: {
        base: 'Chrome',
        flags: ['--disable-web-security'],
        displayName: 'Chrome w/o security.'
      }
    },
    
### Steps to reproduce the behaviour

1.
2.
3.

貢獻者指南