sealbox times its tests; reference digests for the changed fixtures
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+6
−2
internal/sealbox/sealbox_test.go+4 −0scripts/runner-reference-allowlist.json+2 −2
CI passed — run details
diff --git a/internal/sealbox/sealbox_test.go b/internal/sealbox/sealbox_test.go| index 3f8aff09..9766e73a 100644 |
| --- a/internal/sealbox/sealbox_test.go |
| +++ b/internal/sealbox/sealbox_test.go |
| @@ -4,14 +4,18 @@ import ( |
| "crypto/ed25519" |
| "crypto/rand" |
| "errors" |
| + "os" |
| "testing" |
| "time" |
| "amadan.net/oficina/equipo/internal/wire" |
| + "amadan.net/rastrillo/rastrillo/budget" |
| "golang.org/x/crypto/curve25519" |
| "golang.org/x/crypto/nacl/box" |
| ) |
| +func TestMain(m *testing.M) { os.Exit(budget.Main(m)) } |
| + |
| func keys(t *testing.T) (ed25519.PublicKey, Keys) { |
| pub, priv, err := ed25519.GenerateKey(rand.Reader) |
| if err != nil { |
diff --git a/scripts/runner-reference-allowlist.json b/scripts/runner-reference-allowlist.json| index 0f479bec..c405424f 100644 |
| --- a/scripts/runner-reference-allowlist.json |
| +++ b/scripts/runner-reference-allowlist.json |
| @@ -10914,7 +10914,7 @@ |
| }, |
| { |
| "path": "internal/wire/wiretest/testdata/frames/hello-mac.json", |
| - "line_sha256": "9cdc375d2535217ec19e50fdf1f27d6ab891a8d324424cd31524e43866d096c3", |
| + "line_sha256": "61d1fbf2209785cb7c52c077a4f76dd59c6902c2a5c9694fe0cbdae50fd9b33b", |
| "match": "node", |
| "count": 1, |
| "reason": "Recorded Mac hello fixture: the node toolchain version in its capability report." |
| @@ -11166,7 +11166,7 @@ |
| }, |
| { |
| "path": "internal/wire/wiretest/testdata/frames/hello-mac-probes.json", |
| - "line_sha256": "9b35f3cc57c055aa83964c4d5e26b47bac6650854232bcfd64d3b234f8f3302c", |
| + "line_sha256": "7c1514f581e43cf001aec9df10a3f08626277be4696fbda524072c6acb073677", |
| "match": "node", |
| "count": 2, |
| "reason": "Mac runner (darwin worker): the runner executable, its launchd agent, install paths, the pinned srt package and Node it needs, and their tests and docs." |