mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
commands: Improve server startup to make tests less flaky
Do this by announcing/listen on the local address before we start the server.
This commit is contained in:
@@ -169,7 +169,7 @@ func testGoFlags() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
return "-test.short"
|
||||
return "-timeout=1m"
|
||||
}
|
||||
|
||||
// Run tests in 32-bit mode
|
||||
|
Reference in New Issue
Block a user