Commit d61ddee
Revert "build: Speed up JUnit test listing"
This reverts commit 5a395fa64508945192896b2a10cf97c730e51ac6.
Reason for revert: Speculative fix for flake endorser failures
Original change's description:
> build: Speed up JUnit test listing
>
> Listing JUnit tests can be very slow, 17+ seconds slow. This CL
> optimizes the process by parallelizing test class discovery and
> pre-filtering classes against the gtest filter(s) before passing the
> filtered classes to JUnit. This avoids expensive reflection on classes
> that would have been filtered out. Now it takes just 1 second.
>
> Since the underlying test listing is now significantly faster, the
> Python-side test list cache in local_machine_junit_test_run.py is no
> longer necessary and has been removed. This avoids staleness issues and
> reduces the number of things to examine when a test fails (i.e. no
> longer need to wonder whether the right tests ran due to the cache being
> stale).
>
> [email protected]
>
> Bug: 40878339, 448894165
> Change-Id: I7a59372fa2e940e60fbab2d36989333b5b422173
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7173486
> Reviewed-by: Andrew Grieve <[email protected]>
> Auto-Submit: Peter Wen <[email protected]>
> Commit-Queue: Peter Wen <[email protected]>
> Reviewed-by: Henrique Nakashima <[email protected]>
> Cr-Commit-Position: refs/heads/main@{#1547984}
Bug: 40878339, 448894165, 462739429
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 40878339, 448894165
Change-Id: Id90abc870041d707c5cf154cecf9bc37b0ed4eba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7187501
Bot-Commit: Rubber Stamper <[email protected]>
Commit-Queue: Andrew Grieve <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1548572}
NOKEYCHECK=True
GitOrigin-RevId: 6847a7b2d60715df51f813afee0689f7ffcccdd31 parent 05da05d commit d61ddee
1 file changed
+73
-6
lines changedLines changed: 73 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
210 | 215 | | |
211 | 216 | | |
212 | 217 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
218 | 285 | | |
219 | 286 | | |
220 | 287 | | |
221 | | - | |
| 288 | + | |
222 | 289 | | |
223 | 290 | | |
224 | 291 | | |
| |||
0 commit comments