Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLeaderElectionHealthChecker (0.21 sec)

  1. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor_test.go

    func (fl *fakeLock) Describe() string {
    	return "Dummy implementation of lock for testing"
    }
    
    // TestLeaderElectionHealthChecker tests that the healthcheck for leader election handles its edge cases.
    func TestLeaderElectionHealthChecker(t *testing.T) {
    	current := time.Now()
    	req := &http.Request{}
    
    	tests := []struct {
    		description    string
    		expected       error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 12 18:41:53 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top