Merge pull request #107595 from wzshiming/test/skip_not_found_cmd

Skip tests when no signal emitting command
This commit is contained in:
Kubernetes Prow Robot
2022-01-18 16:14:05 -08:00
committed by GitHub

View File

@@ -264,6 +264,11 @@ var _ = SIGDescribe("GracefulNodeShutdown [Serial] [NodeFeature:GracefulNodeShut
})
ginkgo.BeforeEach(func() {
if err := lookEmitSignalCommand(); err != nil {
e2eskipper.Skipf("skipping test because: %v", err)
return
}
ginkgo.By("Wait for the node to be ready")
waitForNodeReady()