mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Merge pull request #126511 from AndrewSirenko/fix-broken-ad-metrics-test
Fix broken A/D Controller metrics test
This commit is contained in:
commit
051fa631dd
@ -431,13 +431,6 @@ var _ = utils.SIGDescribe(framework.WithSerial(), "Volume metrics", func() {
|
||||
e2eskipper.Skipf("Could not get controller-manager metrics - skipping")
|
||||
}
|
||||
|
||||
// Forced detach metric should be present
|
||||
forceDetachKey := "attachdetach_controller_forced_detaches"
|
||||
_, ok := updatedControllerMetrics[forceDetachKey]
|
||||
if !ok {
|
||||
framework.Failf("Key %q not found in A/D Controller metrics", forceDetachKey)
|
||||
}
|
||||
|
||||
// Wait and validate
|
||||
totalVolumesKey := "attachdetach_controller_total_volumes"
|
||||
states := []string{"actual_state_of_world", "desired_state_of_world"}
|
||||
|
Loading…
Reference in New Issue
Block a user