mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-30 20:50:50 +02:00
optimize test runtime by running a single server instance per-file rather than one per test
This commit is contained in:
@ -141,7 +141,7 @@ func TestUpdateReleaseVersion(t *testing.T) {
|
||||
func TestGithubRedirects(t *testing.T) {
|
||||
// Set up
|
||||
defer shared.BackupAndRestore(t)()
|
||||
defer shared.RunTestServer(t)()
|
||||
defer shared.RunTestServer()()
|
||||
|
||||
// Check the redirects
|
||||
client := &http.Client{
|
||||
|
Reference in New Issue
Block a user