mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #98761 from chymy/repeated-err-0204
Repeated err judgment in integration test
This commit is contained in:
commit
1f6fe21425
@ -158,8 +158,6 @@ func namespaceLifecycleSetup(t *testing.T) (framework.CloseFunc, *namespace.Name
|
||||
informers.Core().V1().Namespaces(),
|
||||
10*time.Hour,
|
||||
corev1.FinalizerKubernetes)
|
||||
if err != nil {
|
||||
t.Fatalf("error creating Deployment controller: %v", err)
|
||||
}
|
||||
|
||||
return closeFn, controller, informers, clientSet, dynamic.NewForConfigOrDie(&config)
|
||||
}
|
||||
|
@ -131,9 +131,6 @@ func rmSetup(t *testing.T) (*httptest.Server, framework.CloseFunc, *replicaset.R
|
||||
replicaset.BurstReplicas,
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create replicaset controller")
|
||||
}
|
||||
return s, closeFn, rm, informers, clientSet
|
||||
}
|
||||
|
||||
|
@ -125,9 +125,6 @@ func rmSetup(t *testing.T) (*httptest.Server, framework.CloseFunc, *replication.
|
||||
replication.BurstReplicas,
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to create replication controller")
|
||||
}
|
||||
return s, closeFn, rm, informers, clientSet
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user