mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-17 11:28:58 +00:00
Update startup_race_test.go
This commit is contained in:
@@ -67,7 +67,7 @@ func populateEtcdForRepairTest(t *testing.T, etcdOptions *storagebackend.Config,
|
||||
|
||||
// Create many namespaces directly in etcd to simulate a large cluster
|
||||
// This causes the namespace informer to take significant time to sync on startup
|
||||
for i := 0; i < numNamespaces; i++ {
|
||||
for i := range numNamespaces {
|
||||
ns := &v1.Namespace{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: fmt.Sprintf("bulk-ns-%d", i),
|
||||
|
||||
Reference in New Issue
Block a user