Print latency metrics before the density test

pull/6/head
Filip Grzadkowski 2015-06-10 14:12:51 +02:00
parent 93ffeb93b6
commit 0f6c715b77
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@ var _ = Describe("Density", func() {
expectNoError(err)
uuid = string(util.NewUUID())
// Print latency metrics before the test.
// TODO: Remove this once we reset metrics before the test.
_, err = HighLatencyRequests(c, 2*time.Second, util.NewStringSet("events"))
expectNoError(err)
expectNoError(os.Mkdir(fmt.Sprintf(testContext.OutputDir+"/%s", uuid), 0777))
expectNoError(writePerfData(c, fmt.Sprintf(testContext.OutputDir+"/%s", uuid), "before"))
})