mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Print latency metrics before the density test
This commit is contained in:
parent
93ffeb93b6
commit
0f6c715b77
@ -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"))
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user