- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestWatch (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
) func RunTestWatch(ctx context.Context, t *testing.T, store storage.Interface) { testWatch(ctx, t, store, false) testWatch(ctx, t, store, true) } // It tests that // - first occurrence of objects should notify Add event // - update should trigger Modified event // - update that gets filtered should trigger Deleted event func testWatch(ctx context.Context, t *testing.T, store storage.Interface, recursive bool) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go
_, err := b.Do().Object() if err == nil || !strings.Contains(err.Error(), "subresource cannot be used when bulk resources are specified") { t.Fatalf("unexpected response: %v", err) } } func TestWatch(t *testing.T) { _, svc := testData() w, err := newDefaultBuilderWith(fakeClientWith("", t, map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 11:58:41 UTC 2023 - 56.1K bytes - Viewed (0)