You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 496df99
Browse filesBrowse the repository at this point in the historyBrowse files
Move package main's test seams onto runArgs (#266)
signalReady, testSignals, ctBaseURL, waybackBaseURL and axfrPort were
package variables that tests overwrote, hidden global state that also
kept those tests from running in parallel. They are now per-run fields
on runArgs (signals, signalReady, sourceURLs, axfrPort), zero in
production; passiveNames and zoneTransfer take the URLs and port as
parameters. Tests pass them through new runCLIWith/runCLIMergedWith
helpers, and the globals are gone.
Not done here: adding t.Parallel to the root tests. Runs still share
process-wide state (signal.Notify, and the SIGTERM test signals the
whole process), which needs its own change.
Refs #266
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments