Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RunTestCreateWithKeyExist (0.21 sec)

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

    	t.Cleanup(terminate)
    	storagetesting.RunTestCreateWithTTL(ctx, t, cacher)
    }
    
    func TestCreateWithKeyExist(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestCreateWithKeyExist(ctx, t, cacher)
    }
    
    func TestGet(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestGet(ctx, t, cacher)
    }
    
    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

    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestCreateWithTTL(ctx, t, store)
    }
    
    func TestCreateWithKeyExist(t *testing.T) {
    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestCreateWithKeyExist(ctx, t, store)
    }
    
    func TestGet(t *testing.T) {
    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestGet(ctx, t, store)
    }
    
    func TestUnconditionalDelete(t *testing.T) {
    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 != nil {
    		t.Fatalf("Watch failed: %v", err)
    	}
    	testCheckEventType(t, w, watch.Deleted)
    }
    
    func RunTestCreateWithKeyExist(ctx context.Context, t *testing.T, store storage.Interface) {
    	obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test-ns"}}
    	key, _ := testPropagateStore(ctx, t, store, obj)
    	out := &example.Pod{}
    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