Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestControllerCache (0.14 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller_test.go

    		if pv.ResourceVersion == version {
    			t.Errorf("expected volume with version other than %s in the cache, got %s instead", version, pv.ResourceVersion)
    		}
    	}
    }
    
    // TestControllerCache tests func storeObjectUpdate()
    func TestControllerCache(t *testing.T) {
    	// Cache under test
    	c := cache.NewStore(cache.DeletionHandlingMetaNamespaceKeyFunc)
    
    	// Store new PV
    	storeVersion(t, "Step1", c, "1", true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top