mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #121648 from neolit123/1.29-super-admin-conf
kubeadm: do not poll in TestEnsureAdminClusterRoleBindingImpl
This commit is contained in:
commit
bfd67c4454
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user