Skip tests when no signal emitting command

This commit is contained in:
Shiming Zhang 2022-01-17 16:03:28 +08:00
parent 8815a3119c
commit 00790153b2

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