mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
fix metrics test
This commit is contained in:
parent
6c94adcc63
commit
59fcd7b770
@ -119,7 +119,7 @@ func TestAPIServerMetrics(t *testing.T) {
|
||||
}
|
||||
|
||||
// Make a request to a deprecated API to ensure there's at least one data point
|
||||
if _, err := client.FlowcontrolV1beta3().FlowSchemas().List(context.TODO(), metav1.ListOptions{}); err != nil {
|
||||
if _, err := client.AdmissionregistrationV1beta1().ValidatingAdmissionPolicies().List(context.TODO(), metav1.ListOptions{}); err != nil {
|
||||
t.Fatalf("unexpected error: %v", err)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user