Fix another test error

This commit is contained in:
Jeff Mitchell 2018-06-09 18:31:47 -04:00
parent 16356a3969
commit f32cb9e905
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ func newFaultyPseudo(logger log.Logger, faultyPaths []string) *faultyPseudo {
root: radix.New(),
permitPool: physical.NewPermitPool(1),
logger: logger.Named("storage.inmembackend"),
failGet: new(uint32),
failPut: new(uint32),
failDelete: new(uint32),
failList: new(uint32),
},
faultyPaths: make(map[string]struct{}, len(faultyPaths)),
}