mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #107595 from wzshiming/test/skip_not_found_cmd
Skip tests when no signal emitting command
This commit is contained in:
commit
32f83b2b60
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user