Merge pull request #121648 from neolit123/1.29-super-admin-conf

kubeadm: do not poll in TestEnsureAdminClusterRoleBindingImpl
This commit is contained in:
Kubernetes Prow Robot 2023-11-01 01:51:26 +01:00 committed by GitHub
commit bfd67c4454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -933,7 +933,7 @@ func TestEnsureAdminClusterRoleBindingImpl(t *testing.T) {
}
client, err := EnsureAdminClusterRoleBindingImpl(
context.Background(), adminClient, superAdminClient, time.Millisecond*50, time.Millisecond*1000)
context.Background(), adminClient, superAdminClient, 0, 0)
if (err != nil) != tc.expectedError {
t.Fatalf("expected error: %v, got %v, error: %v", tc.expectedError, err != nil, err)
}