mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-29 14:16:26 +00:00
Fix typos in garbagecollector_test.go
This commit is contained in:
@@ -865,8 +865,8 @@ func TestGarbageCollectorSync(t *testing.T) {
|
|||||||
// Setting the period to 200ms allows the WaitForCacheSync() to check
|
// Setting the period to 200ms allows the WaitForCacheSync() to check
|
||||||
// for cache sync ~2 times in every wait.PollImmediateUntil() loop.
|
// for cache sync ~2 times in every wait.PollImmediateUntil() loop.
|
||||||
//
|
//
|
||||||
// The 1s sleep in the test allows GetDelableResources and
|
// The 1s sleep in the test allows GetDeletableResources and
|
||||||
// gc.resyncMoitors to run ~5 times to ensure the changes to the
|
// gc.resyncMonitors to run ~5 times to ensure the changes to the
|
||||||
// fakeDiscoveryClient are picked up.
|
// fakeDiscoveryClient are picked up.
|
||||||
go gc.Sync(fakeDiscoveryClient, 200*time.Millisecond, stopCh)
|
go gc.Sync(fakeDiscoveryClient, 200*time.Millisecond, stopCh)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user