summaryrefslogtreecommitdiffstats
path: root/tests/kata.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-23 13:56:40 +0000
committeraur-build <aur-build@localhost>2026-11-23 13:56:40 +0000
commit6872e81644546a9ccd0e1420c3ef64a26358f78a (patch)
treed9474a30cca7a22fe673e569c5dd3e3bbf5aab9c /tests/kata.rs
parent4c143e969dcd7b6a18e5a86f9a754c9b62979ccf (diff)
downloadaur-build-6872e81644546a9ccd0e1420c3ef64a26358f78a.tar.gz
aur-build-6872e81644546a9ccd0e1420c3ef64a26358f78a.zip
tests: the ratchet says what the code says now
The architecture test's own essays were the largest block of prose left in the tree, and the test-file headers were notes about which tests moved into `src/` — history the file no longer needs. Removing those mentions moved two measured numbers, and the ratchet was right to complain. `db.Writer` now sits in the allowlist with the compiler fact that keeps it `pub` — narrowing it makes every call site say `type db::Writer is private` — and the counts that got smaller are written back at the smaller value, as the ratchet demands.
Diffstat (limited to 'tests/kata.rs')
-rw-r--r--tests/kata.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/kata.rs b/tests/kata.rs
index 271a36f..a5df56d 100644
--- a/tests/kata.rs
+++ b/tests/kata.rs
@@ -8,11 +8,6 @@ use aur_build::sandbox::kata::{KataBackend, LocalAgentProvisioner};
use aur_build::sandbox::{Cmd, SandboxBackend, SandboxSpec};
use common::{env_with_fixture, shim_dir};
-// What remains drives a real sandbox agent or a real fixture build. The two
-// tests that only asserted this module's own machinery — the container record a
-// lease provisions, and the TTL expiry of a sandbox that never dials in — moved
-// into src/sandbox/kata.rs, where that machinery is declared.
-
fn agent_sandbox_config() -> Config {
let tmp = tempfile::tempdir().unwrap();
std::fs::write(