summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2022-02-11 13:34:18 -0500
committerMatthew Heon <matthew.heon@pm.me>2022-02-16 13:59:04 -0500
commit22cfa98605620ee7528fbf84260bcc34762b0cc5 (patch)
tree34f694f845b08825fe51b8117f95b8e4839960a4 /test/e2e/common_test.go
parentd77b4f92c013b0d8773750abb75ca7816454e8a3 (diff)
downloadpodman-22cfa98605620ee7528fbf84260bcc34762b0cc5.tar.gz
podman-22cfa98605620ee7528fbf84260bcc34762b0cc5.tar.bz2
podman-22cfa98605620ee7528fbf84260bcc34762b0cc5.zip
enable netavark specific tests
These are copies of the CNI tests with modifications wherever neccessary. Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index f843a8984..b1cd76d27 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -771,15 +771,15 @@ func SkipIfNotActive(unit string, reason string) {
}
}
-func SkipIfNetavark(p *PodmanTestIntegration) {
- if p.NetworkBackend == Netavark {
- Skip("This test is not compatible with the netavark network backend")
+func SkipIfCNI(p *PodmanTestIntegration) {
+ if p.NetworkBackend == CNI {
+ Skip("this test is not compatible with the CNI network backend")
}
}
-func SkipUntilAardvark(p *PodmanTestIntegration) {
+func SkipIfNetavark(p *PodmanTestIntegration) {
if p.NetworkBackend == Netavark {
- Skip("Re-enable when aardvark is functional")
+ Skip("This test is not compatible with the netavark network backend")
}
}
@@ -1038,3 +1038,7 @@ func ncz(port int) bool {
}
return false
}
+
+func createNetworkName(name string) string {
+ return name + stringid.GenerateNonCryptoID()[:10]
+}