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
commit 32f83b2b60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()