• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

GoogleChrome / lighthouse / 7912
84%
master: 91%

Build:
Build:
LAST BUILD BRANCH: patch-2
DEFAULT BRANCH: master
Ran 25 May 2017 04:07AM UTC
Jobs 2
Files 180
Run time 43min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
7912

push

travis-ci

samccone
😈 Fix disconnect promise race.

It is possible that we were resolving the gather chain before we had
disconnected. When manually launching and killing chrome this can race
and result in an error to the user.

This fixes that problem. \o/.

Fixes #2337

---

Test plan:

Run launcher with:

```ts
const lighthouse = require('lighthouse');

import {launch} from './chrome-launcher';

async function runLighthouse(url: string) {
  const opts = {
    chromeFlags: ['--headless'],
  };
  const chrome = await launch(opts);
  const flags = {
    output: 'json',
    port: chrome.port,
  };

  const results = await lighthouse(url, flags);

  process.on('uncaughtException', (e: any) => {
    console.log(e);
  });

  await chrome.kill();
  return results;
}

runLighthouse('https://example.com');
```

Without this patch, and then run it with the patch. Observe it now
working.

1 of 1 new or added line in 1 file covered. (100.0%)

4645 of 5511 relevant lines covered (84.29%)

1844.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7912.1 25 May 2017 04:07AM UTC 0
84.29
Travis Job 7912.1
2 7912.2 25 May 2017 04:50AM UTC 0
84.29
Travis Job 7912.2
Source Files on build 7912
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7912
  • da240041 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc