Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RunTestValidateDeletionWithSuggestion (0.42 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_test.go

    }
    
    func TestValidateDeletionWithSuggestion(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestValidateDeletionWithSuggestion(ctx, t, cacher)
    }
    
    func TestValidateDeletionWithOnlySuggestionValid(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	storagetesting.RunTestDeleteWithSuggestionOfDeletedObject(ctx, t, store)
    }
    
    func TestValidateDeletionWithSuggestion(t *testing.T) {
    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestValidateDeletionWithSuggestion(ctx, t, store)
    }
    
    func TestValidateDeletionWithOnlySuggestionValid(t *testing.T) {
    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestValidateDeletionWithOnlySuggestionValid(ctx, t, store)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	if err := store.Delete(ctx, key, out, nil, storage.ValidateAllObjectFunc, originalPod); !storage.IsNotFound(err) {
    		t.Errorf("Unexpected error during deletion: %v, expected not-found", err)
    	}
    }
    
    func RunTestValidateDeletionWithSuggestion(ctx context.Context, t *testing.T, store storage.Interface) {
    	key, originalPod := testPropagateStore(ctx, t, store, &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: "name", Namespace: "test-ns"}})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top