Re-add running the test server for some tests do actually sometimes need it

This commit is contained in:
David Dworken 2022-09-27 22:25:14 -07:00
parent a108268925
commit 6b29591eec

View File

@ -35,6 +35,7 @@ func TestSetup(t *testing.T) {
func TestBuildHistoryEntry(t *testing.T) {
defer shared.BackupAndRestore(t)()
defer shared.RunTestServer()()
shared.Check(t, Setup([]string{}))
// Test building an actual entry for bash
@ -95,6 +96,7 @@ func TestBuildHistoryEntry(t *testing.T) {
func TestBuildHistoryEntryWithRedaction(t *testing.T) {
defer shared.BackupAndRestoreEnv("HISTTIMEFORMAT")()
defer shared.BackupAndRestore(t)()
defer shared.RunTestServer()()
shared.Check(t, Setup([]string{}))
testcases := []struct {