Repository navigation
Commit 616794c
committed
test(plugin-sharing): size the three scrypt cases near vitest's 5000 ms default to their measured work
The share-link password cases derive scrypt keys at the production
parameters on purpose, so their wall time scales with the shard that runs
them. Three of them read over half of the 5000 ms default on Test Core:
the NFKC case (timed out at 5030 and 5039 ms), the cross-verify case
(4136 ms) and the no-log case (3805 ms). Each now carries an explicit
budget of 3x its slowest reading, rounded up to the next second. The
other 49 scrypt-reaching cases in the package keep the default.
No parameter, production file or vitest config changes.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WYYhVJ78u7PhwFViWo1EmQ1 parent ca135dc commit 616794c
2 files changed
Lines changed: 33 additions & 3 deletions
File tree
- packages/plugins/plugin-sharing/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
30 | 53 | | |
31 | 54 | | |
32 | 55 | | |
| |||
67 | 90 | | |
68 | 91 | | |
69 | 92 | | |
70 | | - | |
| 93 | + | |
71 | 94 | | |
72 | 95 | | |
73 | 96 | | |
| |||
93 | 116 | | |
94 | 117 | | |
95 | 118 | | |
96 | | - | |
| 119 | + | |
97 | 120 | | |
98 | 121 | | |
99 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
474 | 481 | | |
475 | 482 | | |
476 | 483 | | |
| |||
481 | 488 | | |
482 | 489 | | |
483 | 490 | | |
484 | | - | |
| 491 | + | |
485 | 492 | | |
486 | 493 | | |
487 | 494 | | |
| |||
0 commit comments