Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMultipleControllers (0.15 sec)

  1. pkg/controller/disruption/disruption_test.go

    			if !tc.expectError && err != nil {
    				t.Errorf("did not expect error, but got %v", err)
    			}
    		})
    	}
    }
    
    // Verify that multiple controllers doesn't allow the PDB to be set true.
    func TestMultipleControllers(t *testing.T) {
    	const podCount = 2
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    	pdb, pdbName := newMinAvailablePodDisruptionBudget(t, intstr.FromString("1%"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top