Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RunTestCount (0.11 sec)

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

    	// TODO(#109831): Enable use of this test and run it.
    }
    
    func TestCount(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestCount(ctx, t, cacher)
    }
    
    func TestWatch(t *testing.T) {
    	ctx, cacher, terminate := testSetup(t)
    	t.Cleanup(terminate)
    	storagetesting.RunTestWatch(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.RunTestListResourceVersionMatch(ctx, t, &storeWithPrefixTransformer{store})
    }
    
    func TestCount(t *testing.T) {
    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestCount(ctx, t, store)
    }
    
    // =======================================================================
    // Implementation-specific tests are following.
    // The following tests are exercising the details of the implementation
    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.Get(ctx, preset[1].key, storage.GetOptions{}, &example.Pod{}); !storage.IsInternalError(err) {
    		t.Errorf("Unexpected error: %v", err)
    	}
    }
    
    func RunTestCount(ctx context.Context, t *testing.T, store storage.Interface) {
    	resourceA := "/foo.bar.io/abc"
    
    	// resourceA is intentionally a prefix of resourceB to ensure that the count
    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