CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 07:40:18 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/"afb73933f159662a1466779f99398616"
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=HbSdOdsMY9IZ0z7h0KpK1NhF%2BYXp%2B35K0QLXS94cOQdma0queFGtfifYwLsRWJ2hi6shQfJrAHE1Fzbr%2BxLzlCFgeTQ1e89ERfHNeAmbkmik%2BFAu3q4tYUUgtC7YbhEefZcIHYyUD5j0kDX5ZCY86jKo4EOUka%2Bsviyz%2B1n%2BQCrltGEU3tXuMw0gb8HhHaaCTAolPdjFlmBCSNcykhfbdxHFogFIVlJUYGt4tp3%2B15G9vUP%2Fq%2Ff8A3oCdUL0J7znvUcoeYK21I7R9hZqXSF0%2FA%3D%3D--%2FLk3HcRQ7jAqEQSL--m7RbiSEyxW9FQusB%2FO2MVA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.288234510.1760168417; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 07:40:17 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 11 Oct 2026 07:40:17 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A6DC:136466:43D0A7:5D5D64:68EA09E1
fix(test): mark all second connections reconnects (#3598) · karma-runner/karma@1c9c2de · GitHub
Copy file name to clipboardExpand all lines: test/e2e/reconnecting.feature
Copy file name to clipboardExpand all lines: test/e2e/support/reconnecting/test.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit 1c9c2de
authored
fix(test): mark all second connections reconnects (#3598)
The reconnecting test is flakey, sometimes running the tests twice. This is exactly
the behavior we are trying to prevent. Hard to reproduce.
Refactoring:
* rename newBrowser to knownBrowser as appropriate.
* move browser STATE constant set/check into browser module.
Browser should be the only place the state is set.
* pass singleRun and clientConfig into Browser
* pass isSocketReconnect into browser.reconnect()
* rename browser.onDisconnect to browser.onSocketDisconnect to distinguish
the socket from the reload cases.1 parent 87f7e5e commit 1c9c2deCopy full SHA for 1c9c2de
File tree
Expand file treeCollapse file tree
9 files changed
+92
-90
lines changedFilter options
- client
- lib
- static
- test
- client
- e2e
- support/reconnecting
- unit
Expand file treeCollapse file tree
9 files changed
+92
-90
lines changedCollapse file: client/karma.js
+5-6Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 |
| |
48 | 50 |
| |
49 | 51 |
| |
| |||
299 | 301 |
| |
300 | 302 |
| |
301 | 303 |
| |
302 |
| - | |
303 |
| - | |
304 |
| - | |
305 | 304 |
| |
306 | 305 |
| |
307 | 306 |
| |
|
Collapse file: lib/browser.js
+35-24Lines changed: 35 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
| 15 | + | |
15 | 16 |
| |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
| 23 | + | |
| 24 | + | |
22 | 25 |
| |
23 | 26 |
| |
24 | 27 |
| |
| |||
94 | 97 |
| |
95 | 98 |
| |
96 | 99 |
| |
97 |
| - | |
| 100 | + | |
98 | 101 |
| |
99 |
| - | |
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
| |||
119 | 121 |
| |
120 | 122 |
| |
121 | 123 |
| |
122 |
| - | |
123 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
124 | 139 |
| |
125 | 140 |
| |
126 | 141 |
| |
127 | 142 |
| |
128 | 143 |
| |
129 | 144 |
| |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 | 145 |
| |
141 | 146 |
| |
142 | 147 |
| |
| |||
161 | 166 |
| |
162 | 167 |
| |
163 | 168 |
| |
164 |
| - | |
165 |
| - | |
| 169 | + | |
| 170 | + | |
166 | 171 |
| |
167 | 172 |
| |
168 | 173 |
| |
| |||
172 | 177 |
| |
173 | 178 |
| |
174 | 179 |
| |
175 |
| - | |
176 |
| - | |
| 180 | + | |
177 | 181 |
| |
178 |
| - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
179 | 188 |
| |
180 | 189 |
| |
181 | 190 |
| |
| |||
201 | 210 |
| |
202 | 211 |
| |
203 | 212 |
| |
204 |
| - | |
| 213 | + | |
205 | 214 |
| |
206 | 215 |
| |
207 | 216 |
| |
| |||
246 | 255 |
| |
247 | 256 |
| |
248 | 257 |
| |
249 |
| - | |
250 |
| - | |
251 |
| - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
252 | 263 |
| |
253 | 264 |
| |
254 | 265 |
| |
|
Collapse file: lib/server.js
+6-22Lines changed: 6 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
264 |
| - | |
265 |
| - | |
266 |
| - | |
267 |
| - | |
268 |
| - | |
269 |
| - | |
270 |
| - | |
271 |
| - | |
272 |
| - | |
273 |
| - | |
274 |
| - | |
275 |
| - | |
276 |
| - | |
| 264 | + | |
277 | 265 |
| |
278 |
| - | |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
| 266 | + | |
| 267 | + | |
283 | 268 |
| |
284 |
| - | |
| 269 | + | |
285 | 270 |
| |
286 | 271 |
| |
287 | 272 |
| |
| |||
290 | 275 |
| |
291 | 276 |
| |
292 | 277 |
| |
293 |
| - | |
| 278 | + | |
294 | 279 |
| |
295 | 280 |
| |
296 | 281 |
| |
| |||
334 | 319 |
| |
335 | 320 |
| |
336 | 321 |
| |
337 |
| - | |
338 |
| - | |
| 322 | + | |
339 | 323 |
| |
340 | 324 |
| |
341 | 325 |
| |
|
Collapse file: static/karma.js
+5-6Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 |
| - | |
56 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
57 | 59 |
| |
58 | 60 |
| |
59 | 61 |
| |
| |||
309 | 311 |
| |
310 | 312 |
| |
311 | 313 |
| |
312 |
| - | |
313 |
| - | |
314 |
| - | |
315 | 314 |
| |
316 | 315 |
| |
317 | 316 |
| |
|
Collapse file: test/client/karma.spec.js
+4-2Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
204 | 204 |
| |
205 | 205 |
| |
206 | 206 |
| |
| 207 | + | |
| 208 | + | |
| 209 | + | |
207 | 210 |
| |
208 | 211 |
| |
209 | 212 |
| |
210 |
| - | |
211 |
| - | |
| 213 | + | |
212 | 214 |
| |
213 | 215 |
| |
214 | 216 |
| |
|
Collapse file: test/e2e/reconnecting.feature
test/e2e/reconnecting.feature
Copy file name to clipboardExpand all lines: test/e2e/reconnecting.feature+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
| 24 | + | |
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
|
Collapse file: test/e2e/support/reconnecting/test.js
test/e2e/support/reconnecting/test.js
Copy file name to clipboardExpand all lines: test/e2e/support/reconnecting/test.js+7-8Lines changed: 7 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| 9 | + | |
| 10 | + | |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
13 | 15 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 |
| |
18 | 21 |
| |
19 | 22 |
| |
20 | 23 |
| |
21 | 24 |
| |
22 | 25 |
| |
23 |
| - | |
| 26 | + | |
24 | 27 |
| |
25 |
| - | |
26 |
| - | |
27 | 28 |
| |
28 |
| - | |
29 |
| - | |
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
|
You can’t perform that action at this time.
0 commit comments