aboutsummaryrefslogtreecommitdiffhomepage
path: root/magefile.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-03-18 08:54:44 +0100
committerBjørn Erik Pedersen <[email protected]>2022-03-21 09:32:35 +0100
commit9539069f5eb5f5abbd7138eda10893353d0c5eea (patch)
tree576a583ab532525c66a113e5945fb9d1bdf5485e /magefile.go
parent0e305d695820779a5c66fbe3434e3293911d7f98 (diff)
downloadhugo-9539069f5eb5f5abbd7138eda10893353d0c5eea.tar.gz
hugo-9539069f5eb5f5abbd7138eda10893353d0c5eea.zip
commands: Improve server startup to make tests less flaky
Do this by announcing/listen on the local address before we start the server.
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/magefile.go b/magefile.go
index b794e9a4b..b63576c3c 100644
--- a/magefile.go
+++ b/magefile.go
@@ -169,7 +169,7 @@ func testGoFlags() string {
return ""
}
- return "-test.short"
+ return "-timeout=1m"
}
// Run tests in 32-bit mode