Commit 629237bb authored by Filip Grzadkowski's avatar Filip Grzadkowski

Merge pull request #9574 from fgrzadkowski/debug_density

Print latency metrics before the density test
parents 93ffeb93 0f6c715b
...@@ -61,6 +61,11 @@ var _ = Describe("Density", func() { ...@@ -61,6 +61,11 @@ var _ = Describe("Density", func() {
expectNoError(err) expectNoError(err)
uuid = string(util.NewUUID()) 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(os.Mkdir(fmt.Sprintf(testContext.OutputDir+"/%s", uuid), 0777))
expectNoError(writePerfData(c, fmt.Sprintf(testContext.OutputDir+"/%s", uuid), "before")) expectNoError(writePerfData(c, fmt.Sprintf(testContext.OutputDir+"/%s", uuid), "before"))
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment