Merge pull request #84740 from mortent/PromotePDBConformance
Promote PodDisruptionBudget e2e test to Conformance
This commit is contained in:
		
							
								
								
									
										7
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								test/conformance/testdata/conformance.yaml
									
									
									
									
										vendored
									
									
								
							@@ -698,6 +698,13 @@
 | 
			
		||||
    MUST succeed. It MUST succeed when deleting the Deployment.
 | 
			
		||||
  release: v1.20
 | 
			
		||||
  file: test/e2e/apps/deployment.go
 | 
			
		||||
- testname: 'PodDisruptionBudget: Status updates'
 | 
			
		||||
  codename: '[sig-apps] DisruptionController should observe PodDisruptionBudget status
 | 
			
		||||
    updated [Conformance]'
 | 
			
		||||
  description: Disruption controller MUST update the PDB status with how many disruptions
 | 
			
		||||
    are allowed.
 | 
			
		||||
  release: v1.21
 | 
			
		||||
  file: test/e2e/apps/disruption.go
 | 
			
		||||
- testname: Jobs, orphan pods, re-adoption
 | 
			
		||||
  codename: '[sig-apps] Job should adopt matching orphans and release non-matching
 | 
			
		||||
    pods [Conformance]'
 | 
			
		||||
 
 | 
			
		||||
@@ -95,7 +95,13 @@ var _ = SIGDescribe("DisruptionController", func() {
 | 
			
		||||
		createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromString("1%"), defaultLabels)
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
	ginkgo.It("should observe PodDisruptionBudget status updated", func() {
 | 
			
		||||
	/*
 | 
			
		||||
	   Release : v1.21
 | 
			
		||||
	   Testname: PodDisruptionBudget: Status updates
 | 
			
		||||
	   Description: Disruption controller MUST update the PDB status with
 | 
			
		||||
	   how many disruptions are allowed.
 | 
			
		||||
	*/
 | 
			
		||||
	framework.ConformanceIt("should observe PodDisruptionBudget status updated", func() {
 | 
			
		||||
		createPDBMinAvailableOrDie(cs, ns, defaultName, intstr.FromInt(1), defaultLabels)
 | 
			
		||||
 | 
			
		||||
		createPodsOrDie(cs, ns, 3)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user