Stream beets imports over HTTP.

test(server): clean up lifecycle and router tests and cover bind failure #42

Merged glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:test/hygiene-server-lifecycle
Merged opened by and assigned to glerp.sullen.net
targeting main from glerp.sullen.net/goosefoot:test/hygiene-server-lifecycle

Summary #

  • Add server.New happy-path coverage for symlinked ImportDirectory and valid HooksDir configuration, plus Server.ListenAndServe bind-failure error-boundary coverage.
  • Remove the arbitrary 50ms time.Sleep from TestListenAndServe_shutdownAbortsQueuedImportWhileAllowingActiveImportToComplete (relying on deterministic stream completion synchronization) and extract emitLargeLogBatch so test bodies contain no loops.
  • Align router and address test names (TestRouter_..., TestAddr_...) to TestAction_Condition_ExpectedResult and replace abbreviated identifiers (cfg, srv, req, rec, dir, perm) with full descriptive names.
Commits 0