Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getDeletedPodNames (0.33 sec)

  1. pkg/controller/podgc/gc_controller_test.go

    			gcc.nodeQueue = workqueue.NewTypedDelayingQueueWithConfig(workqueue.TypedDelayingQueueConfig[string]{Clock: fakeClock, Name: "podgc_test_queue"})
    
    			// First GC of orphaned pods
    			gcc.gc(ctx)
    			deletedPodNames := getDeletedPodNames(client)
    
    			if len(deletedPodNames) > 0 {
    				t.Errorf("no pods should be deleted at this point.\n\tactual: %v", deletedPodNames)
    			}
    
    			// Move clock forward
    			fakeClock.Step(test.delay)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
Back to top