Ignore latency metrics for events

This commit is contained in:
Filip Grzadkowski
2015-05-06 22:50:36 +02:00
parent 58962100db
commit c073c9b9c9
2 changed files with 5 additions and 3 deletions

View File

@@ -158,7 +158,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, 10*time.Second)
highLatencyRequests, err := HighLatencyRequests(c, 10*time.Second, util.NewStringSet("events"))
expectNoError(err)
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0))
})