Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCheckResult (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    	// This allows for that.
    	testCheckResult(t, w, watch.Event{Type: watch.Modified, Object: out})
    	w.Stop()
    
    	// Make sure when we watch from 0 we receive an ADDED event
    	w, err = store.Watch(ctx, key, storage.ListOptions{ResourceVersion: "0", Predicate: storage.Everything})
    	if err != nil {
    		t.Fatalf("Watch failed: %v", err)
    	}
    
    	testCheckResult(t, w, watch.Event{Type: watch.Added, Object: out})
    	w.Stop()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top