- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RunTestWatchContextCancel (2.41 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go
ctx, store, _ := testSetup(t) storagetesting.RunTestWatchError(ctx, t, &storeWithPrefixTransformer{store}) } func TestWatchContextCancel(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestWatchContextCancel(ctx, t, store) } func TestWatcherTimeout(t *testing.T) { ctx, store, _ := testSetup(t) storagetesting.RunTestWatcherTimeout(ctx, t, store) } func TestWatchDeleteEventObjectHaveLatestRV(t *testing.T) {
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
if err != nil { t.Fatalf("Watch failed: %v", err) } testCheckEventType(t, w, watch.Error) } func RunTestWatchContextCancel(ctx context.Context, t *testing.T, store storage.Interface) { canceledCtx, cancel := context.WithCancel(ctx) cancel() // When we watch with a canceled context, we should detect that it's context canceled.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0)