Open
Description
There is currently one integration test that makes assertions against a running Hugo server started via the hugo server
(the other tests in server_test.go
do not run cmd.ExecuteC()
). This test waits for the server to be ready via time.Sleep
.
As mentioned in this comment, let's find a way to make awaiting server readiness more deterministic in integration tests. There are a number of outstanding server-related issues, so this will allow us to write more integration tests for the server
command without unnecessary sleeping and with more reproducible results between compute environments (e.g., CI pipeline containers).