mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Measure latency metrics before removing namespace
This commit is contained in:
parent
800012dfb8
commit
2637dab02b
@ -115,9 +115,6 @@ var _ = Describe("Density [Skipped]", func() {
|
|||||||
var ns string
|
var ns string
|
||||||
var uuid string
|
var uuid string
|
||||||
|
|
||||||
framework := NewFramework("density")
|
|
||||||
framework.NamespaceDeletionTimeout = time.Hour
|
|
||||||
|
|
||||||
// Gathers data prior to framework namespace teardown
|
// Gathers data prior to framework namespace teardown
|
||||||
AfterEach(func() {
|
AfterEach(func() {
|
||||||
// Remove any remaining pods from this test if the
|
// Remove any remaining pods from this test if the
|
||||||
@ -151,6 +148,11 @@ var _ = Describe("Density [Skipped]", func() {
|
|||||||
expectNoError(VerifySchedulerLatency())
|
expectNoError(VerifySchedulerLatency())
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Explicitly put here, to delete namespace at the end of the test
|
||||||
|
// (after measuring latency metrics, etc.).
|
||||||
|
framework := NewFramework("density")
|
||||||
|
framework.NamespaceDeletionTimeout = time.Hour
|
||||||
|
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
c = framework.Client
|
c = framework.Client
|
||||||
ns = framework.Namespace.Name
|
ns = framework.Namespace.Name
|
||||||
|
@ -65,6 +65,8 @@ var _ = Describe("[Performance] Load capacity [Skipped]", func() {
|
|||||||
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0))
|
Expect(highLatencyRequests).NotTo(BeNumerically(">", 0))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Explicitly put here, to delete namespace at the end of the test
|
||||||
|
// (after measuring latency metrics, etc.).
|
||||||
framework := NewFramework("load")
|
framework := NewFramework("load")
|
||||||
framework.NamespaceDeletionTimeout = time.Hour
|
framework.NamespaceDeletionTimeout = time.Hour
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user