mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Merge pull request #8781 from fgrzadkowski/reduce_density_limit
Reduce threshold for request latency in density tests to 5 sec
This commit is contained in:
commit
01fcb58673
@ -79,7 +79,7 @@ var _ = Describe("Density", func() {
|
|||||||
// Verify latency metrics
|
// Verify latency metrics
|
||||||
// TODO: Update threshold to 1s once we reach this goal
|
// TODO: Update threshold to 1s once we reach this goal
|
||||||
// TODO: We should reset metrics before the test. Currently previous tests influence latency metrics.
|
// TODO: We should reset metrics before the test. Currently previous tests influence latency metrics.
|
||||||
highLatencyRequests, err := HighLatencyRequests(c, 10*time.Second, util.NewStringSet("events"))
|
highLatencyRequests, err := HighLatencyRequests(c, 5*time.Second, util.NewStringSet("events"))
|
||||||
expectNoError(err)
|
expectNoError(err)
|
||||||
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0))
|
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0))
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user