Merge pull request #97572 from gavinfish/gc-test-typo

Cleanup: fix typos in garbagecollector_test.go
This commit is contained in:
Kubernetes Prow Robot 2021-01-05 15:11:53 -08:00 committed by GitHub
commit e8b3a02fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -865,8 +865,8 @@ func TestGarbageCollectorSync(t *testing.T) {
// Setting the period to 200ms allows the WaitForCacheSync() to check
// for cache sync ~2 times in every wait.PollImmediateUntil() loop.
//
// The 1s sleep in the test allows GetDelableResources and
// gc.resyncMoitors to run ~5 times to ensure the changes to the
// The 1s sleep in the test allows GetDeletableResources and
// gc.resyncMonitors to run ~5 times to ensure the changes to the
// fakeDiscoveryClient are picked up.
go gc.Sync(fakeDiscoveryClient, 200*time.Millisecond, stopCh)