optimize test runtime by running a single server instance per-file rather than one per test

This commit is contained in:
David Dworken
2022-04-15 11:20:23 -07:00
parent e906785336
commit ab0d9d4c90
4 changed files with 24 additions and 28 deletions

View File

@ -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{