- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RunTestWatchError (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go
ctx, store, _ := testSetup(t) storagetesting.RunTestDelayedWatchDelivery(ctx, t, store) } func TestWatchError(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestWatchError(ctx, t, &storeWithPrefixTransformer{store}) } func TestWatchContextCancel(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestWatchContextCancel(ctx, t, store) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 12.3K bytes - Viewed (1) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
// For now, this number is smallest for Cacher and it equals 10 (size of the out buffer). if watched < 10 { t.Errorf("Unexpected number of events: %v, expected: %v", watched, totalPods) } } func RunTestWatchError(ctx context.Context, t *testing.T, store InterfaceWithPrefixTransformer) { obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test-ns"}} key := computePodKey(obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0)