- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPerRevisionElection (0.26 sec)
-
pilot/pkg/leaderelection/leaderelection_test.go
_, stop := createElection(t, "pod1", "", watcher, true, client) // A new pod is not the leader _, stop2 := createElection(t, "pod2", "", watcher, false, client) close(stop2) close(stop) } func TestPerRevisionElection(t *testing.T) { client := fake.NewSimpleClientset() watcher := &fakeDefaultWatcher{"foo"} // First pod becomes the leader _, stop := createPerRevisionElection(t, "pod1", "foo", 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)