feat(torrents): add HTTP-boundary Torrent probe harness and test script

This commit is contained in:
NimBold
2026-08-01 18:50:25 +03:30
parent 18b51ca86e
commit a00d34edc8
4 changed files with 784 additions and 1 deletions
+8
View File
@@ -36,6 +36,14 @@ npm run smoke:torrent
Use `node scripts/smoke-torrent.js --binary /path/to/aria2c` when validating a
packaged or target-specific Aria2 binary.
Run the HTTP-boundary Torrent probe harness with a controllable local JSON-RPC
server. It drives the production Aria2 RPC client through scripted status,
outage, race, cancellation, and daemon-termination cases:
```sh
npm run test:torrent:rpc
```
Run the deterministic unavailable-tracker and Aria2-daemon-exit checks with:
```sh