silence reporting in integration tests

pull/3628/head
Cory LaNou 2015-08-13 20:49:22 -05:00
parent f507059ab4
commit d58851a679
1 changed files with 1 additions and 0 deletions

View File

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