CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 11:15:22 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/karma-runner/karma.git
etag: W/"69ef9730f584ce7fc0e752ad26839c87"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=IEENC1TX3CrIyaym9ipQG0zOZdT4uYZfH45RycKhEo04uxnI8eLqcZHLrZFFh8w9NxobFdM9XhSdyqP6826gMIAyeSxTkRYf9ZsornbMyJc3lnbG%2F24osTldpDM91fIwTPFnq9FxZZtPLgJHIVoHaCjvFBYiJlY7wzUElf%2BVQ30Hw6hUTRzxA94s38WuMkNuzGCWiLuxQJVJpbQK%2FEJ6jgkKXb5cL6FSRvce8Cizp7uzbYhcRqcJXTEYP6JOf9LSfwfuORXh60bcBSavrgPWEQ%3D%3D--17n7sw%2BEXT8k%2Fsao--ZWo0ln%2BJtGMbepIIEImCJg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.588137736.1760094921; Path=/; Domain=github.com; Expires=Sat, 10 Oct 2026 11:15:21 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 10 Oct 2026 11:15:21 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A786:24FF3A:2E4B15:3397CE:68E8EAC9
feat: don't wait for all browsers and start executing immediately · karma-runner/karma@8647266 · GitHub
Copy file name to clipboardExpand all lines: test/unit/launcher.spec.coffee
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit 8647266
committed
feat: don't wait for all browsers and start executing immediately
Once a browser gets captured, Karma immediately starts test execution in that browser. Also, immediately after a browser is finished, Karma kills this browser.
This should allow us to use SauceLabs/BrowserStack browsers much more efficiently.
This only affects `--single-run` mode. Without `--single-run` mode, Karma still waits for all browsers to get captured and then execute.
Closes #571 parent 5f52fee commit 8647266Copy full SHA for 8647266
File tree
Expand file treeCollapse file tree
7 files changed
+141
-27
lines changedFilter options
- lib
- reporters
- test/unit
Expand file treeCollapse file tree
7 files changed
+141
-27
lines changedCollapse file: lib/executor.js
+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 |
| |
28 | 33 |
| |
29 | 34 |
| |
|
Collapse file: lib/launcher.js
+17-2Lines changed: 17 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
| 42 | + | |
41 | 43 |
| |
42 | 44 |
| |
43 | 45 |
| |
44 | 46 |
| |
45 | 47 |
| |
46 |
| - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
47 | 62 |
| |
48 | 63 |
| |
49 | 64 |
| |
| |||
82 | 97 |
| |
83 | 98 |
| |
84 | 99 |
| |
85 |
| - | |
| 100 | + | |
86 | 101 |
| |
87 | 102 |
| |
88 | 103 |
| |
|
Collapse file: lib/reporters/Base.js
+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 |
| - | |
| 9 | + | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 |
| |
14 | 17 |
| |
15 | 18 |
| |
|
Collapse file: lib/reporters/Dots.js
+6-2Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 |
| - | |
| 9 | + | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
14 | 18 |
| |
15 | 19 |
| |
16 | 20 |
| |
|
Collapse file: lib/reporters/Progress.js
+12-3Lines changed: 12 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
| 22 | + | |
| 23 | + | |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
28 | 37 |
| |
29 | 38 |
| |
30 | 39 |
| |
|
Collapse file: lib/server.js
+71-15Lines changed: 71 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
49 | 59 |
| |
50 | 60 |
| |
51 | 61 |
| |
52 | 62 |
| |
53 | 63 |
| |
54 |
| - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
55 | 67 |
| |
56 | 68 |
| |
57 | 69 |
| |
| |||
68 | 80 |
| |
69 | 81 |
| |
70 | 82 |
| |
71 |
| - | |
| 83 | + | |
72 | 84 |
| |
73 | 85 |
| |
74 | 86 |
| |
75 | 87 |
| |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 | 88 |
| |
83 | 89 |
| |
84 | 90 |
| |
| |||
104 | 110 |
| |
105 | 111 |
| |
106 | 112 |
| |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
107 | 127 |
| |
108 | 128 |
| |
109 | 129 |
| |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
110 | 173 |
| |
111 | 174 |
| |
112 | 175 |
| |
| |||
129 | 192 |
| |
130 | 193 |
| |
131 | 194 |
| |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 | 195 |
| |
140 | 196 |
| |
141 | 197 |
| |
|
Collapse file: test/unit/launcher.spec.coffee
test/unit/launcher.spec.coffee
Copy file name to clipboardExpand all lines: test/unit/launcher.spec.coffee+25-3Lines changed: 25 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
76 | 76 |
| |
77 | 77 |
| |
78 | 78 |
| |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
79 | 101 |
| |
80 | 102 |
| |
81 | 103 |
| |
82 | 104 |
| |
83 | 105 |
| |
84 | 106 |
| |
85 | 107 |
| |
86 |
| - | |
| 108 | + | |
87 | 109 |
| |
88 | 110 |
| |
89 | 111 |
| |
| |||
94 | 116 |
| |
95 | 117 |
| |
96 | 118 |
| |
97 |
| - | |
| 119 | + | |
98 | 120 |
| |
99 | 121 |
| |
100 | 122 |
| |
| |||
111 | 133 |
| |
112 | 134 |
| |
113 | 135 |
| |
114 |
| - | |
| 136 | + | |
115 | 137 |
| |
116 | 138 |
| |
117 | 139 |
| |
|
You can’t perform that action at this time.
0 commit comments