mirror of
https://github.com/containers/gvisor-tap-vsock.git
synced 2026-04-22 16:17:07 +08:00
Disable ping tests on CI
As Azure and by extension Github Actions are not allowing to ping external domains, we need to disable the ping tests for now. Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
This commit is contained in:
committed by
Christophe Fergeau
parent
35b65b6b66
commit
05d6cec095
@@ -56,20 +56,23 @@ var _ = ginkgo.Describe("command-line format", func() {
|
||||
|
||||
var _ = ginkgo.Describe("ping with gvproxy", func() {
|
||||
ginkgo.It("should succeed to ping a known domain", func() {
|
||||
ginkgo.Skip("this test is not run in CI, because on Azure ICMP is blocked by default")
|
||||
out, err := sshExec("ping -w2 crc.dev")
|
||||
log.Infof("ping: %s", out)
|
||||
gomega.Expect(err).NotTo(gomega.HaveOccurred())
|
||||
})
|
||||
ginkgo.It("should succeed to ping a known IP", func() {
|
||||
ginkgo.Skip("this test is not run in CI, because on Azure ICMP is blocked by default")
|
||||
out, err := sshExec("ping -w2 1.1.1.1")
|
||||
log.Infof("ping: %s", out)
|
||||
gomega.Expect(err).NotTo(gomega.HaveOccurred())
|
||||
})
|
||||
|
||||
ginkgo.It("should fail to ping an unknown domain", func() {
|
||||
out, err := sshExec("ping -w2 unknown.crc.dev")
|
||||
log.Infof("ping: %s", out)
|
||||
gomega.Expect(err).To(gomega.HaveOccurred())
|
||||
})
|
||||
ginkgo.It("should succeed to ping a known IP", func() {
|
||||
out, err := sshExec("ping -w2 1.1.1.1")
|
||||
log.Infof("ping: %s", out)
|
||||
gomega.Expect(err).NotTo(gomega.HaveOccurred())
|
||||
})
|
||||
ginkgo.It("should fail to ping an unknown IP", func() {
|
||||
out, err := sshExec("ping -w2 7.7.7.7")
|
||||
log.Infof("ping: %s", out)
|
||||
|
||||
Reference in New Issue
Block a user