Merge pull request #9923 from justinsb/e2e_polish

Minor fixes & TODOs for e2e tests
This commit is contained in:
Saad Ali
2015-06-17 11:32:58 -07:00
3 changed files with 8 additions and 6 deletions

View File

@@ -122,7 +122,7 @@ var _ = Describe("Density", func() {
// TODO: We should reset metrics before the test. Currently previous tests influence latency metrics.
highLatencyRequests, err := HighLatencyRequests(c, 3*time.Second, util.NewStringSet("events"))
expectNoError(err)
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0))
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0), "There should be no high-latency requests")
})
// Tests with "Skipped" substring in their name will be skipped when running