diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-27 15:07:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 15:07:32 -0400 |
commit | c64abd0b037e5918d6d24e326005ae65131dd738 (patch) | |
tree | 81a3647c98522436b35a1520d44cc2f64d707775 /test/e2e/common_test.go | |
parent | ab3a620f74f2f1458054822f2113200863b60d40 (diff) | |
parent | 8438fa4fec01142ad9f6943f6e0c429c64d951b7 (diff) | |
download | podman-c64abd0b037e5918d6d24e326005ae65131dd738.tar.gz podman-c64abd0b037e5918d6d24e326005ae65131dd738.tar.bz2 podman-c64abd0b037e5918d6d24e326005ae65131dd738.zip |
Merge pull request #6407 from baude/v2eventsstream
Add streaming ability to endpoint
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r-- | test/e2e/common_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 80ee83f44..e12edad49 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -21,6 +21,7 @@ import ( "github.com/containers/storage/pkg/reexec" "github.com/containers/storage/pkg/stringid" jsoniter "github.com/json-iterator/go" + "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" . "github.com/onsi/gomega/gexec" @@ -573,3 +574,10 @@ func (p *PodmanTestIntegration) CreateSeccompJson(in []byte) (string, error) { } return jsonFile, nil } + +func SkipIfNotFedora() { + info := GetHostDistributionInfo() + if info.Distribution != "fedora" { + ginkgo.Skip("Test can only run on Fedora") + } +} |