Point the commandWait comment at the Dockerfile's test limit (closes #195)
check / check (push) Waiting to run

The comment said script/test gives the package 30 seconds. script/test
sets no time limit; the test phase of the Dockerfile sets one with
go test -timeout. The comment now names that place instead of a number.

Model: opus-5-5
This commit was merged in pull request #196.
This commit is contained in:
2026-10-15 20:25:07 +02:00
parent 26a4739615
commit 176aee05aa
2 changed files with 9 additions and 3 deletions
+4 -3
View File
@@ -34,9 +34,10 @@ const (
testMnemonic = "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"
// commandWait is how long a test lets the secret binary run before it
// kills it and fails. It stays well under the 30 seconds script/test
// gives the whole package, so a command that hangs fails the test with
// the test's own message instead of Go's timeout panic.
// kills it and fails. It stays well under the time limit the test phase
// of the Dockerfile gives the whole package (go test -timeout), so a
// command that hangs fails the test with the test's own message instead
// of Go's timeout panic.
commandWait = 10 * time.Second
)