tests: tune flaky tests that error in travis occasionally (#18508)

* tests: tune flaky tests that error in travis occasionally

* tests: formatting
This commit is contained in:
Martin Holst Swende
2019-01-23 16:09:29 +01:00
committed by GitHub
parent a50b471b6b
commit dc43ea8d03
4 changed files with 8 additions and 5 deletions

View File

@ -39,7 +39,7 @@ func TestReporter(t *testing.T) {
//setup the metrics
log.Debug("Setting up metrics first time")
reportInterval := 5 * time.Millisecond
reportInterval := 2 * time.Millisecond
metrics := SetupAccountingMetrics(reportInterval, filepath.Join(dir, "test.db"))
log.Debug("Done.")