Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setPreferredResources (0.28 sec)

  1. pkg/controller/resourcequota/resource_quota_controller_test.go

    	fakeDiscoveryClient.setPreferredResources(unsyncableServerResources, nil)
    
    	// Wait until sync discovers the change
    	time.Sleep(1 * time.Second)
    	// deployments removed, secrets added
    	assertMonitors(t, qc, "pods", "secrets")
    
    	// Put the resources back to normal and ensure quota sync recovers
    	fakeDiscoveryClient.setPreferredResources(serverResources, nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 16:29:33 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/garbagecollector_test.go

    	fakeDiscoveryClient.setPreferredResources(unsyncableServerResources, nil)
    
    	// Wait until sync discovers the change
    	time.Sleep(1 * time.Second)
    	assertMonitors(t, gc, "pods", "secrets")
    
    	// Put the resources back to normal and ensure garbage collector sync recovers
    	fakeDiscoveryClient.setPreferredResources(serverResources, nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
Back to top