mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Mark failing node serial tests as flaky
Tracked in: - https://github.com/kubernetes/kubernetes/issues/103690 - https://github.com/kubernetes/kubernetes/issues/103691
This commit is contained in:
		@@ -50,7 +50,7 @@ var _ = SIGDescribe("CriticalPod [Serial] [Disruptive] [NodeFeature:CriticalPod]
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
		})
 | 
							})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		ginkgo.It("should be able to create and delete a critical pod", func() {
 | 
							ginkgo.It("[Flaky] should be able to create and delete a critical pod", func() {
 | 
				
			||||||
			configEnabled, err := isKubeletConfigEnabled(f)
 | 
								configEnabled, err := isKubeletConfigEnabled(f)
 | 
				
			||||||
			framework.ExpectNoError(err)
 | 
								framework.ExpectNoError(err)
 | 
				
			||||||
			if !configEnabled {
 | 
								if !configEnabled {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -119,7 +119,7 @@ func testDevicePlugin(f *framework.Framework, pluginSockDir string) {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
			initialConfig.FeatureGates[string(features.KubeletPodResources)] = true
 | 
								initialConfig.FeatureGates[string(features.KubeletPodResources)] = true
 | 
				
			||||||
		})
 | 
							})
 | 
				
			||||||
		ginkgo.It("Verifies the Kubelet device plugin functionality.", func() {
 | 
							ginkgo.It("[Flaky] Verifies the Kubelet device plugin functionality.", func() {
 | 
				
			||||||
			ginkgo.By("Wait for node is ready to start with")
 | 
								ginkgo.By("Wait for node is ready to start with")
 | 
				
			||||||
			e2enode.WaitForNodeToBeReady(f.ClientSet, framework.TestContext.NodeName, 5*time.Minute)
 | 
								e2enode.WaitForNodeToBeReady(f.ClientSet, framework.TestContext.NodeName, 5*time.Minute)
 | 
				
			||||||
			dp := getSampleDevicePluginPod()
 | 
								dp := getSampleDevicePluginPod()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user