mirror of https://github.com/k3s-io/k3s
Print latency metrics before the density test
parent
93ffeb93b6
commit
0f6c715b77
|
@ -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"))
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue