featurebase/holder_internal_test.go
Matthew Jaffee 6cc5d198ee remove unused stuff and fix a bunch of random staticcheck issues
sorry... once I saw, I couldn't unsee
2022-02-07 15:10:10 -06:00

16 lines
421 B
Go

// Copyright 2021 Molecula Corp. All rights reserved.
package pilosa
import (
"github.com/molecula/featurebase/v3/disco"
)
// mustHolderConfig sets up a default holder config for tests.
func mustHolderConfig() *HolderConfig {
cfg := DefaultHolderConfig()
cfg.StorageConfig.FsyncEnabled = false
cfg.RBFConfig.FsyncEnabled = false
cfg.Schemator = disco.InMemSchemator
cfg.Sharder = disco.InMemSharder
return cfg
}