Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIntegerMaxUnavailable (0.17 sec)

  1. pkg/controller/disruption/disruption_test.go

    	// Verify expected update
    	ps.VerifyPdbStatus(t, pdbName, 0, 3, 3, 4, map[string]metav1.Time{})
    }
    
    // Verify that an integer MaxUnavailable won't
    // allow a disruption for pods with no controller.
    func TestIntegerMaxUnavailable(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    
    	pdb, pdbName := newMaxUnavailablePodDisruptionBudget(t, intstr.FromInt32(1))
    	add(t, dc.pdbStore, pdb)
    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