silence reporting in integration tests
parent
f507059ab4
commit
d58851a679
|
@ -146,6 +146,7 @@ func (s *Server) Write(db, rp, body string, params url.Values) (results string,
|
|||
// NewConfig returns the default config with temporary paths.
|
||||
func NewConfig() *run.Config {
|
||||
c := run.NewConfig()
|
||||
c.ReportingDisabled = true
|
||||
c.Meta.Dir = MustTempFile()
|
||||
c.Meta.BindAddress = "127.0.0.1:0"
|
||||
c.Meta.HeartbeatTimeout = toml.Duration(50 * time.Millisecond)
|
||||
|
|
Loading…
Reference in New Issue