Merge pull request #9181 from fgrzadkowski/decrease_threshold

Decrease threshold for latency metrics in density tests
This commit is contained in:
Piotr Szczesniak 2015-06-03 15:46:56 +02:00
commit f973eb8829

View File

@ -79,7 +79,7 @@ var _ = Describe("Density", func() {
// Verify latency metrics
// TODO: Update threshold to 1s once we reach this goal
// TODO: We should reset metrics before the test. Currently previous tests influence latency metrics.
highLatencyRequests, err := HighLatencyRequests(c, 5*time.Second, util.NewStringSet("events"))
highLatencyRequests, err := HighLatencyRequests(c, 3*time.Second, util.NewStringSet("events"))
expectNoError(err)
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0))
})