- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestLeaderElection (0.17 sec)
-
pilot/pkg/leaderelection/leaderelection_test.go
} func (w *fakeDefaultWatcher) GetDefault() string { return w.defaultRevision } func (w *fakeDefaultWatcher) AddHandler(handler revisions.DefaultHandler) { panic("unimplemented") } func TestLeaderElection(t *testing.T) { client := fake.NewSimpleClientset() watcher := &fakeDefaultWatcher{} // First pod becomes the leader _, stop := createElection(t, "pod1", "", watcher, true, client)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0)